Click or drag to resize
Accord.NET (logo)

GaussianClusterCollection. LogLikelihood Method (Double[] , Int32)

Computes the log-likelihood that the given input vector belongs to the specified classIndex.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public override double LogLikelihood(
	double[] input,
	int classIndex
)
Request Example View Source

Parameters

input
Type:System.Double[]
The input vector.
classIndex
Type: System.Int32
The index of the class whose score will be computed.

Return Value

Type: Double
System.Double.

Implements

IMultilabelLikelihoodClassifier<TInput>.LogLikelihood(TInput, Int32)
See Also