Click or drag to resize
Accord.NET (logo)

DecisionStumpCompute Method

Computes the output class label for a given input.

Namespace:  Accord.MachineLearning.Boosting.Learners
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.0
Syntax
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.

Implements

IWeakClassifierCompute(Double)
See Also