Description Usage Arguments Examples
View source: R/model_lightgbm.R
save trained LGB model together with related meta-data
1 | lgb.save_model(bst, model.dir, model.id = "", verbose = T)
|
bst |
boosting model from |
model.dir |
base path for saving model object and meta-data |
model.id |
identifier for model |
verbose |
whether display saving information, defaults at TRUE |
1 2 3 4 | ## Not run:
save.lgb.model(bst, './saved_model', 'base_model')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.