Click or drag to resize
Accord.NET (logo)

DecisionVariable Constructor (String, DecisionVariableKind)

Creates a new DecisionVariable.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public DecisionVariable(
	string name,
	DecisionVariableKind nature
)
Request Example View Source

Parameters

name
Type: SystemString
The name of the attribute.
nature
Type: Accord.MachineLearning.DecisionTreesDecisionVariableKind
The attribute's nature (i.e. real-valued or discrete-valued).
See Also