|
BaseSupportVectorClassificationTModel, TKernel, TInputComputeError Method
|
Note: This API is now obsolete.
Computes the error rate for a given set of input and outputs.
Namespace:
Accord.MachineLearning.VectorMachines.Learning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax[ObsoleteAttribute("Please use Accord.Math.Optimization.ZeroOneLoss or any other losses of your choice from the Accord.Math.Optimization namespace.")]
public double ComputeError(
TInput[] inputs,
int[] expectedOutputs
)
<ObsoleteAttribute("Please use Accord.Math.Optimization.ZeroOneLoss or any other losses of your choice from the Accord.Math.Optimization namespace.")>
Public Function ComputeError (
inputs As TInput(),
expectedOutputs As Integer()
) As Double
Request Example
View SourceParameters
- inputs
- Type: TInput
- expectedOutputs
- Type: SystemInt32
Return Value
Type:
Double
See Also