Click or drag to resize
Accord.NET (logo)

MulticlassScoreClassifierBaseTInputScore Method (TInput, Int32, Double)

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

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

Parameters

input
Type: TInput
The input vector.
classIndex
Type: SystemInt32
The index of the class whose score will be computed.
result
Type: SystemDouble
An array where the scores will be stored, avoiding unnecessary memory allocations.

Return Value

Type: Double

Implements

IMultilabelScoreClassifierTInputScore(TInput, Int32, Double)
See Also