cabs_gauge

class cockpit.instruments.cabs_gauge(self, fig, gridspec)[source]

CABS gauge, showing the CABS rule versus iteration.

The batch size trades-off more accurate gradient approximations with longer computation. The CABS criterion describes the optimal batch size under certain assumptions.

The instruments shows the suggested batch size (and an exponential weighted average) over the course of training, according to

Preview

Preview CABS Gauge

Requires

This instrument requires data from the CABS quantity class.

Parameters