algorithm for the ensemble model, either Classification or Regression
Method to compute error or loss for every iteration of gradient boosting.
an array with index i having the losses or errors for the ensemble containing the first i+1 trees
Current version of model save/load format.
Get number of trees in ensemble.
Java-friendly version of
Predict values for the given data set.
RDD representing data points to be predicted
RDD[Double] where each entry contains the corresponding prediction
Predict values for a single data point using the model trained.
array representing a single data point
predicted category from the trained model
Print the full model to a string.
Print a summary of the model.
Get total number of nodes, summed over all trees in the ensemble.
tree ensemble weights