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.DecisionTrees.DecisionTree
The tree to be pruned.
inputs
Type:System.Double[][]
The pruning set inputs.
outputs
Type:System.Int32[]
The pruning set outputs.
See Also