|
HybridMarkovClassifierCompute Method (Double, Double)
|
Computes the most likely class for a given sequence.
Namespace:
Accord.Statistics.Models.Markov.Hybrid
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public int Compute(
double[][] sequence,
out double[] responsibilities
)
Public Function Compute (
sequence As Double()(),
<OutAttribute> ByRef responsibilities As Double()
) As Integer
Request Example
View SourceParameters
- sequence
- Type: SystemDouble
The sequence of observations. - responsibilities
- 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
one.
Return Value
Type:
Int32Return the label of the given sequence, or -1 if it has
been rejected by the
threshold model.
See Also