|
BaseHiddenMarkovClassifierTModelCompute Method (Array, Double)
|
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
Syntax protected int Compute(
Array sequence,
out double response
)
Protected Function Compute (
sequence As Array,
<OutAttribute> ByRef response As Double
) As Integer
Request Example
View SourceParameters
- sequence
- Type: SystemArray
The sequence of observations. - response
- Type: SystemDouble
The probability of the assigned class.
Return Value
Type:
Int32Return the label of the given sequence, or -1 if it has
been rejected by the
threshold model.
See Also