nicetoolbox.evaluation.metrics.base_metric.BaseMetric¶
- class nicetoolbox.evaluation.metrics.base_metric.BaseMetric(metrics_config: BaseMetricConfig, config_handler: ConfigHandler)[source]¶
Bases:
ABCBase class for all evaluation metrics.
Each metric is self-contained: receives its config, loads its own data, computes results, and returns a MetricResult.
- Parameters:
metrics_config – Metric-specific configuration.
config_handler – Shared config handler with project and evaluation configs.
Methods
Execute the metric end-to-end: load data, compute, return results.
Attributes
metric_namemetric_configconfig_handler- abstract compute() MetricResult[source]¶
Execute the metric end-to-end: load data, compute, return results.
- Returns:
MetricResult containing summary tables, per-frame arrays, and plots.