NormTest
- class cockpit.quantities.NormTest(track_schedule, verbose=False)[source]
Quantitiy Class for the norm test.
Note: Norm test as proposed in
Byrd, R., Chin, G., Nocedal, J., & Wu, Y., Sample size selection in optimization methods for machine learning (2012). https://link.springer.com/article/10.1007%2Fs10107-012-0572-5
Initialization sets the tracking schedule & creates the output dict.
- Parameters
track_schedule (callable) – Function that maps the
global_step
to a boolean, which determines if the quantity should be computed.verbose (bool, optional) – Turns on verbose mode. Defaults to
False
.