Click or drag to resize
Accord.NET (logo)

OneVsRestTModel, TInputDecide Method (TInput, Int32)

Computes whether a class label applies to an input vector.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.6.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