Click or drag to resize
Accord.NET (logo)

HiddenMarkovModelCreateGeneric Method (ITopology, Int32, Boolean)

Note: This API is now obsolete.

Constructs a new Hidden Markov Model with discrete state probabilities.

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use CreateDiscrete() instead.")]
public static HiddenMarkovModel<GeneralDiscreteDistribution> CreateGeneric(
	ITopology topology,
	int symbols,
	bool random
)
Request Example View Source

Parameters

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.
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
See Also