Click or drag to resize
Accord.NET (logo)

MulticlassClassifierBaseDecide Method (Single, Int32)

Computes a class-label decision for a given input.

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

Parameters

input
Type: SystemSingle
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