Method to calculate error of the base learner for the gradient boosting calculation.
Method to calculate error of the base learner for the gradient boosting calculation. Note: This method is not used by the gradient boosting algorithm but is useful for debugging purposes.
Model of the weak learner.
Training dataset: RDD of org.apache.spark.mllib.regression.LabeledPoint.
Measure of model error on data
Method to calculate the gradients for the gradient boosting calculation for least absolute error calculation.
Method to calculate the gradients for the gradient boosting calculation for least absolute error calculation. The gradient with respect to F(x) is: sign(F(x) - y)
Predicted label.
True label.
Loss gradient
:: DeveloperApi :: Class for absolute error loss calculation (for regression).
The absolute (L1) error is defined as: |y - F(x)| where y is the label and F(x) is the model prediction for features x.