| plot_history | R Documentation |
A named wrapper around the plot.densemlp() method: draws the per-epoch
training and validation loss curves.
plot_history(object, ...)
object |
A fitted |
... |
Passed to |
object, invisibly.
set.seed(1)
x <- data.frame(a = rnorm(80), b = rnorm(80))
y <- x$a - 0.5 * x$b + rnorm(80, sd = 0.1)
fit <- densemlp(x, y, epochs = 40, hidden_units = c(16))
plot_history(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.