arXiv Machine Learning By Ronaldo Cristiano Prati

aggmetrics: Aggregating Classification Performance Measures for Machine Learning

Read the original on arXiv Machine Learning →

aggmetrics is a Python package that expands any binary classification performance measure—defined by the four confusion‑matrix counts—to handle multiclass, multilabel, ordinal, cost‑sensitive, soft‑label, and cross‑validation scenarios. It does this by replacing the typical average switch with one of four aggregation operators and records structural properties for each measure to warn users when a measure behaves unexpectedly. The package is BSD‑3 licensed, relies only on NumPy, and includes a test suite that encodes the accompanying theory, with code and documentation available on GitHub and ReadTheDocs.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Oct 15

Litmus: Zero-Label, Code-Driven Metric Specification for Evaluating AI Systems

Litmus is a zero-label system that automatically designs evaluation and monitoring metrics for AI pipelines by extracting evaluation intent from source code and targeted interrogation. It identifies what must be measured and why, then generates a justified, per-stage metric portfolio. In experiments on three real code-defined pipelines, Litmus outperforms AutoMetrics and DynamicRubric baselines in concern coverage, stage span, redundancy, and validity against per-row quality labels, especially on scientific QA.

By Prajjwal Gupta, Prasang Gupta, Vishal Bhutani, Apoorva Sharma, Sumanth Chundru, Waqar Sarguroh, Kevin Paul
arXiv Statistics ML
Aug 24

EDGE: a closed-form directed test for the calibration of probabilistic binary classifiers

The paper introduces EDGE, a closed‑form statistical test for assessing the calibration of probabilistic binary classifiers, specifically logistic regression. EDGE uses the same binned predicted‑versus‑observed table as a reliability diagram, projects standardized bin residuals onto a small basis of smooth calibration‑distortion shapes, and yields a null distribution that is a weighted sum of chi‑square variables. The method requires only a single pass over the data and a small eigendecomposition, avoiding refitting, resampling, or tuning, and remains robust in sparse or misspecified settings where other binned tests fail.

By Ebrahim Khaled Ebrahim, Ahmed El-Kotory