OrthoTest
- class cockpit.quantities.OrthoTest(track_schedule, verbose=False)[source]
Quantity Class for the orthogonality test.
Note: Orthogonality test as proposed in
Bollapragada, R., Byrd, R., & Nocedal, J., Adaptive Sampling Strategies for Stochastic Optimization (2017). https://arxiv.org/abs/1710.11258
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
.