Click or drag to resize
Accord.NET (logo)

DecisionBranchNodeCollection Constructor (Int32, DecisionNode)

Note: This API is now obsolete.

Initializes a new instance of the DecisionBranchNodeCollection class.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please specify an owner instead.")]
public DecisionBranchNodeCollection(
	int attributeIndex,
	DecisionNode[] nodes
)
Request Example View Source

Parameters

attributeIndex
Type: SystemInt32
Index of the attribute to be processed.
nodes
Type: Accord.MachineLearning.DecisionTreesDecisionNode
The children nodes. Each child node should be responsible for a possible value of a discrete attribute, or for a region of a continuous-valued attribute.
See Also