Description Usage Arguments Value
GBM prediction
1 | gbm_fit(testmx, test_y, trainmx, gbm_model, ncpu = -1)
|
testmx |
Matrix; the features of testing dateset. |
trainmx |
Matrix; the features of training data set. |
gbm_model |
List; the output of gbm_train(), containing three objects: models pred_method train_rmse |
ncpu |
Integer; the number of thread to be used; set to -1 to use all threads; default value is -1. |
List; prediction: the final prediction on testing dataset. test_rmse: numeric vector; list of rmse during testing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.