powered by
This function builds a classification model using Gradient Boosting
GRADIENTBOOSTING( train, labels, ntree = 500, learningrate = 0.3, tune = FALSE, ... )
The classification model.
The training set (description), as a data.frame.
data.frame
Class labels of the training set (vector or factor).
vector
factor
The number of trees in the forest.
The learning rate (between 0 and 1).
If true, the function returns paramters instead of a classification model.
Other parameters.
xgboost
if (FALSE) { require (datasets) data (iris) GRADIENTBOOSTING (iris [, -5], iris [, 5]) }
Run the code above in your browser using DataLab