Click or drag to resize
Accord.NET (logo)

DecisionStumpLearn Method

Note: This API is now obsolete.

Teaches the stump classifier to recognize the class labels of the given input samples.

Namespace:  Accord.MachineLearning.Boosting.Learners
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use the ThresholdLearning class instead.")]
public void Learn(
	double[][] inputs,
	int[] outputs,
	double[] weights
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The input vectors.
outputs
Type: SystemInt32
The class labels corresponding to each input vector.
weights
Type: SystemDouble
The weights associated with each input vector.
See Also