Click or drag to resize
Accord.NET (logo)

BaseHiddenMarkovClassifierTModelCompute Method (Array)

Computes the most likely class for a given sequence.

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
protected int Compute(
	Array sequence
Request Example View Source


Type: SystemArray
The sequence of observations.

Return Value

Type: Int32
Return the label of the given sequence, or -1 if it has been rejected by the threshold model.
See Also