Click or drag to resize
Accord.NET (logo)

DecisionRuleFromNode Method

Creates a new DecisionRule from a DecisionTree's DecisionNode. This node must be a leaf, cannot be the root, and should have one output value.

Namespace:  Accord.MachineLearning.DecisionTrees.Rules
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public static DecisionRule FromNode(
	DecisionNode node
)
Request Example View Source

Parameters

node
Type: Accord.MachineLearning.DecisionTreesDecisionNode
A DecisionNode from a DecisionTree.

Return Value

Type: DecisionRule
A DecisionRule representing the given node.
See Also