Click or drag to resize
Accord.NET (logo)

DecisionStumpCompute Method

Note: This API is now obsolete.

Computes the output class label for a given input.

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

Parameters

inputs
Type: SystemDouble
The input vector.

Return Value

Type: Int32
The most likely class label for the given input.
See Also