Description Usage Arguments Details Value
This function attempts to predict from Complete-Random Tree Forests using xgboost. Requesting predictions form CRTreeForest
should be done using CRTreeForest_pred
.
1 2 |
model |
Type: list. A model trained by |
data |
Type: data.table. A data to predict on. If passing training data, it will predict as if it was out of fold and you will overfit (so, use the list |
folds |
Type: list. The folds as list for cross-validation if using the training data. Otherwise, leave |
prediction |
Type: logical. Whether the predictions of the forest ensemble are averaged. Set it to |
multi_class |
Type: numeric. How many classes you got. Set to 2 for binary classification, or regression cases. Set to |
data_start |
Type: vector of numeric. The initial prediction labels. Set to |
return_list |
Type: logical. Whether lists should be returned instead of concatenated frames for predictions. Defaults to |
For implementation details of Cascade Forest / Complete-Random Tree Forest / Multi-Grained Scanning / Deep Forest, check this: https://github.com/Microsoft/LightGBM/issues/331#issuecomment-283942390 by Laurae.
A data.table or a list based on data
predicted using model
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.