Click or drag to resize
Accord.NET (logo)

DecisionTreeDecide Method (NullableInt32, Int32)

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,
	int[] result
)
Request Example View Source

Parameters

input
Type: SystemNullableInt32
The input data.
result
Type: SystemInt32
The location to where to store the class labels.

Return Value

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