Click or drag to resize

DecisionTreeContinuousNodeGraft 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,
	double left,
	double right,
	double edgeWeight = 1
)

Parameters

node
Type: FinMath.MachineLearningDecisionTreeBaseNode
The node (or sub-tree) to graft.
left
Type: SystemDouble
Acceptable range left boundary (inclusive).
right
Type: SystemDouble
Acceptable range right boundary (exclusive).
edgeWeight (Optional)
Type: SystemDouble
The weight of the branch: the probability (or the number of times) of this execution against others.
See Also