mean_gsnr_gauge
- class cockpit.instruments.mean_gsnr_gauge(self, fig, gridspec)[source]
Mean GSNR gauge, showing the mean GSNR versus iteration.
The mean GSNR describes the average gradient signal-to-noise-ratio. Recent work used this quantity to study the generalization performances of neural networks, noting “that larger GSNR during training process leads to better generalization performance. The instrument shows the mean GSNR versus iteration, overlayed with an exponentially weighted average.
Preview
Requires
This instrument requires data from the
MeanGSNR
quantity class.- Parameters
self (CockpitPlotter) – The cockpit plotter requesting this instrument.
fig (matplotlib.figure.Figure) – Figure of the Cockpit.
gridspec (matplotlib.gridspec.GridSpec) – GridSpec where the instrument should be placed