Click or drag to resize
Accord.NET (logo)

DecisionTree Constructor

Creates a new DecisionTree to process the given inputs and the given number of possible classes.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public DecisionTree(
	IList<DecisionVariable> inputs,
	int classes
)
Request Example View Source

Parameters

inputs
Type: System.Collections.GenericIListDecisionVariable
An array specifying the attributes to be processed by this tree.
classes
Type: SystemInt32
The number of possible output classes for the given attributes.
See Also