if (FALSE) { # interactive()
# GLM keeps the example dependency-free: rtemis fits it with stats::glm().
mod <- train(
mtcars[, c("wt", "hp", "mpg")],
hyperparameters = setup_GLM(),
verbosity = 0L
)
plot_session(mod)
}
Run the code above in your browser using DataLab