Click or drag to resize
Accord.NET (logo)

ReducedErrorPruning Constructor

Initializes a new instance of the ReducedErrorPruning class.

Namespace:  Accord.MachineLearning.DecisionTrees.Pruning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public ReducedErrorPruning(
	DecisionTree tree,
	double[][] inputs,
	int[] outputs
)
Request Example View Source

Parameters

tree
Type: Accord.MachineLearning.DecisionTreesDecisionTree
The tree to be pruned.
inputs
Type: SystemDouble
The pruning set inputs.
outputs
Type: SystemInt32
The pruning set outputs.
See Also