Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

input
Type: SystemNullableInt32
The input data.
subtree
Type: Accord.MachineLearning.DecisionTreesDecisionNode
The node where the decision starts.

Return Value

Type: Int32
A predicted class for the given input.
See Also