HiddenMarkovClassifierCompute Method (Int32, Double)
Note: This API is now obsolete.
Computes the most likely class for a given sequence.
Accord.Statistics (in Accord.Statistics.dll) Version: 3.7.0
Syntax Request Example
[ObsoleteAttribute("Please use Decide(input) or Probability(input) instead.")]
public int Compute(
out double response
<ObsoleteAttribute("Please use Decide(input) or Probability(input) instead.")>
Public Function Compute (
sequence As Integer(),
<OutAttribute> ByRef response As Double
) As Integer
- Type: SystemInt32
The sequence of observations.
- Type: SystemDouble
The class responsibilities (or
the probability of the sequence to belong to each class). When
using threshold models, the sum of the probabilities will not
equal one, and the amount left was the threshold probability.
If a threshold model is not being used, the array should sum to
Return the label of the given sequence, or -1 if it has
been rejected by the