Description Usage Arguments Value
Fit a boosted regression tree (or random forest given the proper set of options). See ??xgboost::xgb.train for more details
1 2 | fit_xgb.train(st, model_name = "brt", fold_col = NULL, fold_id = NULL,
return_model_obj = F, sub_cores = 1)
|
st |
stacker governor. Stacking governer object with a penalized model initialized |
model_name |
character vector. Name of the model to be run |
fold_col |
character vector. Denotes the name of the column designating the fold for crossval |
fold_id |
Numeric. Designates the value in fold col that should be held out |
return_model_obj |
logical. Denotes whether the function should return the earth object or just predictions. |
sub_cores |
numeric. Number of cores/processes to be used by xgboost. |
List object with a data.table of predictions. If return_model_obj==T, the gam command and model object are returned as well
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.