Click or drag to resize
Accord.NET (logo)

BaseHiddenMarkovClassifierTModelLogLikelihood Method (Array, Int32)

Computes the log-likelihood of a set of sequences belonging to their given respective classes 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[] sequences,
	int[] outputs
)
Request Example View Source

Parameters

sequences
Type: SystemArray
A set of sequences of observations.
outputs
Type: SystemInt32
The output class label for each sequence.

Return Value

Type: Double
The log-likelihood of the sequences belonging to the given classes.
See Also