qualia_codegen_core.MetricsConverter module

class qualia_codegen_core.MetricsConverter.MetricsConverter(output_path: Path | None = None)[source]

Bases: Converter

metric_classes: ClassVar[dict[str, str]] = {'acc': 'Accuracy', 'corr': 'PearsonCorrelationCoefficient', 'mae': 'MeanAbsoluteError', 'mse': 'MeanSquaredError', 'slope': 'Slope'}
write_metrics_header(metrics: list[str]) str[source]
write_metrics(metrics: list[str]) str[source]
convert_metrics(metrics: list[str]) str | None[source]