| get_learning_curve | R Documentation |
The loss recorded at every step of training, as data: one row per step, with the training and validation loss where the algorithm records them.
Returns NULL for an algorithm that records no learning curve, so it is safe to call on any model.
get_learning_curve(x, ...)
x |
|
... |
Additional arguments passed to methods. |
data.frame with columns iteration, loss_training and
loss_validation, carrying attributes unit and selected; or NULL.
EDG
plot_learning, which draws it
dat <- set_outcome(iris[, 1:4], "Sepal.Length")
mod <- train(
dat[1:100, ],
dat_validation = dat[101:150, ],
hyperparameters = setup_LINAD(max_leaves = 12L)
)
get_learning_curve(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.