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
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description int[]getStatesForSequence(MLDataSet oseq)Get the sates for the given sequence.doubleprobability(MLDataSet oseq)Determine the probability of the specified sequence.doubleprobability(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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG