helpers
ipw.analysis.helpers
¶
Dataset loading helpers for regression analysis.
load_metrics_dataset(results_dir)
¶
Load the profiler metrics dataset stored on disk.
Source code in intelligence-per-watt/src/ipw/analysis/helpers.py
resolve_model_name(dataset, requested, results_dir)
¶
Determine which model within the dataset should be analyzed.
Source code in intelligence-per-watt/src/ipw/analysis/helpers.py
iter_model_entries(dataset, model_name)
¶
Yield the per-record metrics for the requested model.
Source code in intelligence-per-watt/src/ipw/analysis/helpers.py
collect_run_metadata(entries)
¶
Collect the first non-empty system and GPU metadata structures.
Source code in intelligence-per-watt/src/ipw/analysis/helpers.py
compute_accuracy_summary(dataset, model_name)
¶
Compute accuracy statistics for a given model within an evaluated dataset.
This helper assumes that each record's model_metrics entry for the target
model may contain an evaluation mapping with an is_correct boolean.