Click or drag to resize
Accord.NET (logo)

SimplificationCompute Method

Computes the reduction algorithm.

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

Parameters

inputs
Type: SystemDouble
A set of training inputs.
outputs
Type: SystemInt32
The outputs corresponding to each of the inputs.

Return Value

Type: Double
The average error after the reduction.
See Also