Click or drag to resize
Accord.NET (logo) BaseHiddenMarkovClassifierTModel, TDistribution, TObservationLogLikelihood Method (TObservation, Int32)
Computes the log-likelihood that the given input vector belongs to the specified classIndex.

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.4.0
Syntax
public override double LogLikelihood(
	TObservation[] input,
	int classIndex
)
Request Example View Source

Parameters

input
Type: TObservation
The input vector.
classIndex
Type: SystemInt32
The index of the class whose score will be computed.

Return Value

Type: Double

Implements

IMultilabelLikelihoodClassifierTInputLogLikelihood(TInput, Int32)
See Also