Click or drag to resize
Accord.NET (logo)

ErrorBasedPruning Constructor

Initializes a new instance of the ErrorBasedPruning class.

Namespace:  Accord.MachineLearning.DecisionTrees.Pruning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public ErrorBasedPruning(
	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