edit_model | R Documentation |
Modify an existing model (and training) specification in a model grid.
edit_model(model_grid, model_name, ...)
model_grid |
|
model_name |
|
... |
All the model (and model training) settings you want to modify for an existing model specification. |
model_grid
library(magrittr)
# Create model grid and add random forest model.
mg <-
model_grid() %>%
add_model(model_name = "Random Forest Test", method = "rf", tuneLength = 5)
# Edit the size of tuning grid of the random forest model.
edit_model(mg, model_name = "Random Forest Test", tuneLength = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.