scitex_ml.classification.reporters.reporter_utils.storage
Functions
|
Create directory structure mapping without actually creating directories. |
|
Improved function to save individual metrics with precision control. |
Classes
|
Enhanced storage handler with lazy creation and precision control. |
- class scitex_ml.classification.reporters.reporter_utils.storage.MetricStorage(base_dir, precision=3, verbose=True)[source]
Enhanced storage handler with lazy creation and precision control.
Features: - Creates directories only when actually needed - Rounds numerical values to specified precision - Graceful error handling with informative messages - Supports all standard data formats
- __init__(base_dir, precision=3, verbose=True)[source]
Initialize storage with base directory and precision.
- scitex_ml.classification.reporters.reporter_utils.storage.save_metric(metric_value, path, fold=None, precision=4)[source]
Improved function to save individual metrics with precision control.