Click or drag to resize
Accord.NET (logo)

OneVsRestTModel, TInputLogLikelihood Method (TInput, Int32, Boolean)

Computes a log-likelihood measuring the association between the given input vector and a given classIndex.

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

Parameters

input
Type: TInput
The input vector.
classIndex
Type: SystemInt32
The index of the class whose score will be computed.
decision
Type: SystemBoolean
The class label associated with the input vector, as predicted by the classifier.

Return Value

Type: Double
See Also