org.encog.ml
Interface MLStateSequence

All Superinterfaces:
MLMethod
All Known Implementing Classes:
HiddenMarkovModel

public interface MLStateSequence
extends MLMethod

A state sequence ML method, for example a Hidden Markov Model.


Method Summary
 int[] getStatesForSequence(MLDataSet oseq)
          Get the sates for the given sequence.
 double probability(MLDataSet oseq)
          Determine the probability of the specified sequence.
 double probability(MLDataSet seq, int[] states)
          Determine the probability for the specified sequence and states.
 

Method Detail

getStatesForSequence

int[] getStatesForSequence(MLDataSet oseq)
Get the sates for the given sequence.

Parameters:
oseq - The sequence.
Returns:
The states.

probability

double probability(MLDataSet oseq)
Determine the probability of the specified sequence.

Parameters:
oseq - The sequence.
Returns:
The probability.

probability

double probability(MLDataSet seq,
                   int[] states)
Determine the probability for the specified sequence and states.

Parameters:
seq - The sequence.
states - The states.
Returns:
The probability.


Copyright © 2014. All Rights Reserved.