Click or drag to resize
Accord.NET (logo)

RandomForestCompute Method

Note: This API is now obsolete.

Computes the decision output for a given input vector.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Decide() instead.")]
public int Compute(
	double[] data
)
Request Example View Source

Parameters

data
Type: SystemDouble
The input vector.

Return Value

Type: Int32
The forest decision for the given vector.
See Also