Click or drag to resize
Accord.NET (logo)

OneVsRestTModel, TInputScore Method (TInput, Int32, Boolean)

Computes a numerical score measuring the association between the given input vector and a given classIndex.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.0
Syntax
public override double Score(
	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