Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

inputs
Type: TInput
expectedOutputs
Type: SystemInt32

Return Value

Type: Double
See Also