Click or drag to resize
Accord.NET (logo)

DecisionVariableFromCodebook Method

Creates a set of decision variables from a Codification codebook.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public static DecisionVariable[] FromCodebook(
	Codification<string> codebook,
	params string[] columns
)
Request Example View Source

Parameters

codebook
Type: Accord.Statistics.FiltersCodificationString
The codebook containing information about the variables.
columns
Type: SystemString
The columns to consider as decision variables.

Return Value

Type: DecisionVariable
An array of DecisionVariable objects initialized with the values from the codebook.
See Also