Click or drag to resize
Accord.NET (logo)

MulticlassClassifierBaseTInputDecide Method (TInput, Double)

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 double[] Decide(
	TInput[] input,
	double[] 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: SystemDouble
The location where to store the class-labels.

Return Value

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

Implements

IClassifierTInput, TClassesDecide(TInput, TClasses)
See Also