noggin.plotter.LivePlot.set_train_batch¶
-
LivePlot.
set_train_batch
(metrics: Dict[str, numbers.Real], batch_size: numbers.Integral, plot: bool = True)[source]¶ Record batch-level measurements for train-metrics, and (optionally) plot them.
Parameters: - metrics : Dict[str, Real]
Mapping of metric-name to value. Only those metrics that were registered when initializing LivePlot will be recorded.
- batch_size : Integral
The number of samples in the batch used to produce the metrics. Used to weight the metrics to produce epoch-level statistics.
- plot : bool
If True, plot the batch-metrics (adhering to the refresh rate)