Click or drag to resize
Accord.NET (logo)

C45LearningComputeError 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(
	double[][] inputs,
	int[] outputs
)
Request Example View Source

Parameters

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

Return Value

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