Click or drag to resize

DecisionTreeCategoricalNodeGraft Method

Graft sub-tree as this node sub-nodes.

Namespace:  FinMath.MachineLearning
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public void Graft(
	DecisionTreeBaseNode node,
	IList<double> acceptableCategories,
	double edgeWeight = 1
)

Parameters

node
Type: FinMath.MachineLearningDecisionTreeBaseNode
The node (or sub-tree) to graft.
acceptableCategories
Type: System.Collections.GenericIListDouble
Acceptable categories list for this sub-node.
edgeWeight (Optional)
Type: SystemDouble
The weight of the branch: the probability (or the number of times) of this execution against others.
See Also