|
HiddenMarkovModel Constructor (ITopology, Double, Boolean)
|
Constructs a new Hidden Markov Model.
Namespace:
Accord.Statistics.Models.Markov
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public HiddenMarkovModel(
ITopology topology,
double[,] emissions,
bool logarithm = false
)
Public Sub New (
topology As ITopology,
emissions As Double(,),
Optional logarithm As Boolean = false
)
Request Example
View SourceParameters
- topology
- Type: Accord.Statistics.Models.Markov.TopologyITopology
A Accord.Statistics.Models.Markov.Topology object specifying the initial values of the matrix of transition
probabilities A and initial state probabilities pi to be used by this model.
- emissions
- Type: SystemDouble
The emissions matrix B for this model. - logarithm (Optional)
- Type: SystemBoolean
Set to true if the matrices are given with logarithms of the
intended probabilities; set to false otherwise. Default is false.
See Also