Skip to main content

Plot what happened during training

Description

One panel per quantity, one line per model. Useful for the thing a final number cannot tell you: whether it had stopped improving, or was still going when it ran out of epochs.

Usage

## S3 method for class 'platypus_fit'
plot(x, metrics = NULL, ...)

Arguments

x A platypus_fit().
metrics Which columns to plot; defaults to the losses and metrics.
… Must be empty; a misspelt argument is refused rather than ignored, which is what it used to be. maju116/rplatypus#315.

Value

A ggplot.

Examples

library("rplatypus")

plot(fit)                              # every metric that was recorded
plot(fit, metrics = "dice")