|
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
)
Public Shared Function FromCodebook (
codebook As Codification(Of String),
ParamArray columns As String()
) As DecisionVariable()
Request Example
View SourceParameters
- 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:
DecisionVariableAn array of
DecisionVariable objects
initialized with the values from the codebook.
See Also