Method to calculate the gradients for the gradient boosting calculation.
Method to calculate the gradients for the gradient boosting calculation.
Predicted feature
true label.
Loss gradient.
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.
Model of the weak learner.
Training dataset: RDD of org.apache.spark.mllib.regression.LabeledPoint.
Measure of model error on data
This method is not used by the gradient boosting algorithm but is useful for debugging purposes.
:: DeveloperApi :: Trait for adding "pluggable" loss functions for the gradient boosting algorithm.