Click or drag to resize
Accord.NET (logo)

MultilabelScoreClassifierBaseTInputDecide Method (TInput, 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 virtual 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
An array where the scores will be stored, avoiding unnecessary memory allocations.

Return Value

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

Implements

IClassifierTInput, TClassesDecide(TInput, TClasses)
See Also