Click or drag to resize
Accord.NET (logo)

SimplificationComputeError Method

Computes the average decision error.

Namespace:  Accord.MachineLearning.DecisionTrees.Rules
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.6.0
Syntax
public double ComputeError(
	double[][] inputs,
	int[] outputs
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
A set of input vectors.
outputs
Type: SystemInt32
A set of corresponding output vectors.

Return Value

Type: Double
The average misclassification rate.
See Also