DecisionTree.ContinuousNode.Graft Method
|
Graft sub-tree as this node sub-nodes.
Namespace:
FinMath.MachineLearning
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntaxpublic void Graft(
DecisionTree.BaseNode node,
double left,
double right,
double edgeWeight = 1
)
Parameters
- node
- Type: FinMath.MachineLearning.DecisionTree.BaseNode
The node (or sub-tree) to graft. - left
- Type: System.Double
Acceptable range left boundary (inclusive). - right
- Type: System.Double
Acceptable range right boundary (exclusive). - edgeWeight (Optional)
- Type: System.Double
The weight of the branch: the probability (or the number of times) of this execution against others.
See Also