# aggmetrics: Aggregating Classification Performance Measures for Machine Learning

arXiv: https://arxiv.org/abs/2610.30456 · HTML: https://mlsanity.com/paper/2610.30456/

## Key facts

- Cited by 1 papers in the map (data through 24 Nov 2026).
- Builds on 2 of its 6 references that are in the map.
- Submitted 21 Oct 2026.

## Builds on (most cited first, 2 of 2)

- [Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning](https://mlsanity.com/paper/1609.06570/) (2016)
- [A Unified Algebraic Framework for Classification Performance Evaluation](https://mlsanity.com/paper/2607.04028/) (2026)

## Built on by (most cited first, 1 of 1)

- [A Temporal Algebraic Framework for Data Stream Evaluation Under Delayed Labels and Distribution Shifts](https://mlsanity.com/paper/2611.21914/) (2026)

## Abstract (arXiv)

aggmetrics is a Python package that extends any binary performance measure expressed in the four confusion-matrix counts to multiclass, multilabel, ordinal, cost-sensitive, soft-label and cross-validation settings, by substituting one of four aggregation operators for what libraries usually expose as an average switch. The package also stores, for every measure, the structural properties that decide which identities apply to it, can infer those properties from a user-supplied formula, and uses them to warn when a measure is used where it does not behave as commonly assumed. Its test suite encodes the results of the companion theory as executable tests. The package is BSD-3 licensed, depends only on NumPy, and is available at https://github.com/rcprati/aggmetrics; documentation at https://aggmetrics.readthedocs.io.
