Description Usage Arguments Value
Trains an ensemble of trees via gradient boosting
1 2 3 | aml_gbm(data, response, learning_rate = 0.1, n_trees = 10, m = NULL,
evaluation_criterion = sum_of_squares, min_obs = 5, max_depth = 8,
verbose = FALSE)
|
data |
Input data.frame of dimension n x p for training the GBM |
response |
Response vector of size nx1 corresponding to the training data |
learning_rate |
Shrinkage factor used to dictate learning speed, defaults to .1 |
n_trees |
Number of trees to train, defaults to 10 |
m |
Number of columns to randomly use at each splitting iteration, defaults to all columns |
evaluation_criterion |
Function that calculates error criterion for fitting, defaults to sum of squares |
min_obs |
Minimum observations allowed to end up in a single node, defaults to 5 |
max_depth |
Maximum number of successive splits allowed to happen in the tree, defaults to 8 |
verbose |
Flag to display training updates in the console |
Results trained list of class aml_random_forest filled with random forest trees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.