| plot_learning | R Documentation |
Draw training and validation losses recorded by a rtemis Supervised
object using the ECharts renderer in rtemis.draw.
plot_learning(x, ...)
x |
|
... |
Additional arguments to |
The method uses get_learning_curve() to extract algorithm-specific
progress, losses, and the selected step, then rtemis.draw::draw_learning_curve() to
render them. Forest curves are averaged at each step over available trees.
Models without recorded learning losses produce an informative error.
The default title names the algorithm; pass title = NULL to omit it or
title = "..." to supply another title.
htmlwidget: ECharts learning curve.
model <- train(
mtcars[, c("wt", "mpg")],
hyperparameters = setup_LINAD(max_leaves = 3L),
verbosity = 0L
)
plot_learning(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.