|
OneVsRestTModel, TInputScore Method (TInput, Int32, Boolean)
|
Computes a numerical score measuring the association between
the given input vector and a given
classIndex.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public override double Score(
TInput input,
int classIndex,
out bool decision
)
Public Overrides Function Score (
input As TInput,
classIndex As Integer,
<OutAttribute> ByRef decision As Boolean
) As Double
Request Example
View SourceParameters
- input
- Type: TInput
The input vector. - classIndex
- Type: SystemInt32
The index of the class whose score will be computed. - decision
- Type: SystemBoolean
The class label associated with the input
vector, as predicted by the classifier.
Return Value
Type:
DoubleSee Also