Click or drag to resize
Accord.NET (logo) HiddenMarkovClassifierCompute Method (Int32)

Note: This API is now obsolete.

Computes the most likely class for a given sequence.

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.4.0
Syntax
[ObsoleteAttribute("Please use Decide(input) instead.")]
public int Compute(
	int[] sequence
)
Request Example View Source

Parameters

sequence
Type: SystemInt32
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