Click or drag to resize
Accord.NET (logo)

ConditionalRandomFieldTLogLikelihood Method (T, Int32)

Computes the log-likelihood of the model for the given observations. This method is equivalent to the HiddenMarkovModel.LogLikelihood(TObservation[], int[]) method.

Namespace:  Accord.Statistics.Models.Fields
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double LogLikelihood(
	T[] observations,
	int[] labels
)
Request Example View Source

Parameters

observations
Type: T
labels
Type: SystemInt32

Return Value

Type: Double
See Also