Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

sequence
Type: SystemArray
The sequence of observations.
output
Type: SystemInt32
The output class label.

Return Value

Type: Double
The log-likelihood of the sequence belonging to the given class.
See Also