|
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
)
<ObsoleteAttribute("Please use the ThresholdLearning class instead.")>
Public Sub Learn (
inputs As Double()(),
outputs As Integer(),
weights As Double()
)
Request Example
View SourceParameters
- 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