Click or drag to resize
Accord.NET (logo)

DecisionVariableDiscrete Method (String, Int32)

Creates a new discrete-valued DecisionVariable.

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

Parameters

name
Type: SystemString
The name of the attribute.
symbols
Type: SystemInt32
The number of possible values for this attribute.

Return Value

Type: DecisionVariable
See Also