|
HiddenMarkovClassifierTDistribution, TObservation Constructor (Int32, ITopology, TDistribution, String)
|
Creates a new Sequence Classifier with the given number of classes.
Namespace:
Accord.Statistics.Models.Markov
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntaxpublic HiddenMarkovClassifier(
int classes,
ITopology[] topology,
TDistribution initial,
string[] names
)
Public Sub New (
classes As Integer,
topology As ITopology(),
initial As TDistribution,
names As String()
)
Request Example
View SourceParameters
- classes
- Type: SystemInt32
The number of classes in the classifier. - topology
- Type: Accord.Statistics.Models.Markov.TopologyITopology
The topology of the hidden states. A forward-only topology
is indicated to sequence classification problems, such as speech recognition. - initial
- Type: TDistribution
The initial probability distributions for the hidden states.
For multivariate continuous density distributions, such as Normal mixtures, the
choice of initial values is crucial for a good performance. - names
- Type: SystemString
The class labels for each of the models.
See Also