noggin.logger.LiveLogger.set_train_batch

LiveLogger.set_train_batch(metrics: Dict[str, numbers.Real], batch_size: numbers.Integral, **kwargs)[source]

Record batch-level measurements for train-metrics.

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.

Notes

**kwargs is included in the signature only to facilitate a seamless drop-in replacement for LivePlot. It is not utilized here.