Click or drag to resize
Accord.NET (logo)

HiddenMarkovModelCreateDiscrete Method (Int32, Int32, Boolean)

Creates a discrete hidden Markov model using the generic interface.

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static HiddenMarkovModel<GeneralDiscreteDistribution, int> CreateDiscrete(
	int states,
	int symbols,
	bool random
)
Request Example View Source

Parameters

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 emissions with random probabilities or uniformly with 1 / number of symbols. Default is false (default is to use 1/symbols).

Return Value

Type: HiddenMarkovModelGeneralDiscreteDistribution, Int32
See Also