Description Usage Arguments Value Examples
Removes an individual model specification from a model grid. If the model has been trained, the fitted model will also be deleted.
1 | remove_model(model_grid, model_name)
|
model_grid |
|
model_name |
|
model_grid
1 2 3 4 5 6 7 8 9 10 11 12 | library(magrittr)
# Pre-allocate empty model grid.
mg <- model_grid()
# Add random forest model.
mg <-
mg %>%
add_model(model_name = "Random Forest Test", method = "rf", tuneLength = 5)
# Remove random forest model again.
remove_model(mg, model_name = "Random Forest Test")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.