Click or drag to resize
Accord.NET (logo)

IMultilabelScoreClassifierTInputScore Method (TInput, Int32, Double)

Computes a numerical score measuring the association between each of the given input vectors and the given classIndex.

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

Parameters

input
Type: TInput
A set of input vectors.
classIndex
Type: SystemInt32
The class indices associated with each input vector whose scores will be computed.
result
Type: SystemDouble
An array where the distances will be stored, avoiding unnecessary memory allocations.

Return Value

Type: Double
See Also