|
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.8.0
Syntax public override bool Decide(
TInput input,
int classIndex
)
Public Overrides Function Decide (
input As TInput,
classIndex As Integer
) As Boolean
Request Example
View SourceParameters
- 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