|
DecisionTreeDecide Method (NullableInt32, DecisionNode)
|
Computes the tree decision for a given input.
Namespace:
Accord.MachineLearning.DecisionTrees
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public int Decide(
Nullable<int>[] input,
DecisionNode subtree
)
Public Function Decide (
input As Nullable(Of Integer)(),
subtree As DecisionNode
) As Integer
Request Example
View SourceParameters
- input
- Type: SystemNullableInt32
The input data. - subtree
- Type: Accord.MachineLearning.DecisionTreesDecisionNode
The node where the decision starts.
Return Value
Type:
Int32A predicted class for the given input.
See Also