MLSequenceSet
org.encog.ml.data

Interface MLSequenceSet

  • All Superinterfaces:
    Iterable<MLDataPair>, MLDataSet
    All Known Implementing Classes:
    BasicMLSequenceSet


    public interface MLSequenceSetextends MLDataSet
    A sequence set is a collection of data sets. Where each individual data set is one "unbroken sequence" within the sequence set. This allows individual observations to occur individually, indicating a break between them. The sequence set, itself, is a data set, so it can be used with any Encog trainer. However, not all trainers are aware of sequence sets. Further, some machine learning methods are unaffected by them. Sequence sets are typically used with Hidden Markov Models (HMM)'s.
    • Method Detail

      • startNewSequence

        void startNewSequence()
        Cause a "break" in the data by creating a the beginning of a new sequence.
      • getSequenceCount

        int getSequenceCount()
        Returns:
        Get a count of the number of sequences.
      • getSequence

        MLDataSet getSequence(int i)
        Get an individual sequence.
        Parameters:
        i - The index of the sequence.
        Returns:
        The sequence.
      • add

        void add(MLDataSet sequence)
        Add a new sequence.
        Parameters:
        sequence - The sequence to add.

SCaVis 1.8 © jWork.org