|
BaseHiddenMarkovClassifierTModelLogLikelihood Method (Array, Int32)
|
Computes the log-likelihood that a sequence
belongs to a given class according to this
classifier.
Namespace:
Accord.Statistics.Models.Markov
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax protected double LogLikelihood(
Array sequence,
int output
)
Protected Function LogLikelihood (
sequence As Array,
output As Integer
) As Double
Request Example
View SourceParameters
- sequence
- Type: SystemArray
The sequence of observations. - output
- Type: SystemInt32
The output class label.
Return Value
Type:
DoubleThe log-likelihood of the sequence belonging to the given class.
See Also