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.
Method to calculate the gradients for the gradient boosting calculation.
Model of the weak learner.
Instance of the training dataset.
Loss gradient.
:: DeveloperApi :: Trait for adding "pluggable" loss functions for the gradient boosting algorithm.