configuration
- cockpit.utils.configuration.configuration(label, track_schedule=None, verbose=False)[source]
Use pre-defined collections of quantities that should be used for tracking.
Currently supports three different configurations:
"economy": Combines theAlpha,Distance,GradHist1d,GradNorm,InnerTest,Loss,NormTest,OrthoTestandUpdateSizequantities."business": Same as"economy"but additionally withTICDiagandHessTrace."full": Same as"business"but additionally withHessMaxEVandGradHist2d.
- Parameters
label (str) – String specifying the configuration type. Possible configurations are (least to most expensive)
'economy','business','full'.track_schedule (callable, optional) – Function that maps the
global_stepto a boolean, which determines if the quantity should be computed. Defaults toNone.verbose (bool, optional) – Turns on verbose mode. Defaults to
False.
- Returns
Instantiated quantities for a cockpit configuration.
- Return type