noggin.logger.LiveLogger.set_test_batch

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

Record batch-level measurements for test-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.