Click or drag to resize
Accord.NET (logo)

HiddenMarkovModel Constructor (Double[,] ,Double[,] ,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(
	double[,] transitions,
	double[,] emissions,
	double[] initial,
	bool logarithm = false
)
Request Example View Source

Parameters

transitions
Type:System.Double[,]
The transitions matrix A for this model.
emissions
Type:System.Double[,]
The emissions matrix B for this model.
initial
Type:System.Double[]
The initial state probabilities for this model.
logarithm (Optional)
Type: System.Boolean
Set to true if the matrices are given with logarithms of the intended probabilities; set to false otherwise. Default is false.
See Also