Click or drag to resize
Accord.NET (logo)

OneVsOneTBinary, TInputDecide Method (TInput, Int32)

Computes a class-label decision for a given input.

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

Parameters

input
Type: TInput
The input vector that should be classified into one of the NumberOfOutputs possible classes.
result
Type: SystemInt32
The location where to store the class-labels.

Return Value

Type: Int32
A class-label that best described input according to this classifier.

Implements

IClassifierTInput, TClassesDecide(TInput, TClasses)
See Also