OptimResult.plot_loss_overview()

OptimResult.plot_loss_overview()#

OptimResult.plot_loss_overview(window=None)[source]#

Plot the full loss history above a recent convergence window.

Parameters:

window (int | None, default: None) – Number of final epochs to show in the lower panel. The default is twice the configured patience.

Returns:

plotnine.composition.Stack – Full and recent loss plots in an 8-by-7-inch composition.