Click or drag to resize
Accord.NET (logo)

MultilabelSupportVectorMachineTModel, TKernel, TInputDecide Method (TInput, Int32)

Computes a class-label decision for a given input.

Namespace:  Accord.MachineLearning.VectorMachines
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
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