Click or drag to resize
Accord.NET (logo)

ID3LearningComputeError Method

Note: This API is now obsolete.

Computes the prediction error for the tree over a given set of input and outputs.

Namespace:  Accord.MachineLearning.DecisionTrees.Learning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use the ZeroOneLoss class instead.")]
public double ComputeError(
	int[][] inputs,
	int[] outputs
)
Request Example View Source

Parameters

inputs
Type: SystemInt32
The input points.
outputs
Type: SystemInt32
The corresponding output labels.

Return Value

Type: Double
The percentage error of the prediction.
See Also