|
HiddenMarkovModel Constructor (Int32, Int32, 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(
int states,
int symbols,
bool random
)
Public Sub New (
states As Integer,
symbols As Integer,
random As Boolean
)
Request Example
View SourceParameters
- states
- Type: SystemInt32
The number of states for this model. - symbols
- Type: SystemInt32
The number of output symbols used for this model. - random
- Type: SystemBoolean
Whether to initialize the model transitions and emissions
with random probabilities or uniformly with 1 / number of states (for
transitions) and 1 / number of symbols (for emissions). Default is false.
See Also