Click or drag to resize
Accord.NET (logo)

DecisionVariableDiscrete Method (String, IntRange)

Creates a new discrete DecisionVariable.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.0
Syntax
public static DecisionVariable Discrete(
	string name,
	IntRange range
)
Request Example View Source

Parameters

name
Type: SystemString
The name of the attribute.
range
Type: AccordIntRange
The range of valid values for this attribute.

Return Value

Type: DecisionVariable
See Also