Click or drag to resize
Accord.NET (logo)

MultilabelSupportVectorMachineTModel, TKernel, TInputDecide Method (TInput, Int32)

Computes whether a class label applies to an input vector.

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

Parameters

input
Type: TInput
The input vectors that should be classified as any of the NumberOfOutputs possible classes.
classIndex
Type: SystemInt32
The class label index to be tested.

Return Value

Type: Boolean
A boolean value indicating whether the given classIndex applies to the input vector.
See Also