Master your Metrics with Calibration

Wissam Siblini, Jordan Fréry, Liyun He-Guelton, Frédéric Oblé, Yi-Qing Wang
9/6/2019
cs.LGstat.ML

Official code: wissam-sib/calibrated_metrics (14 stars, Jupyter Notebook, last commit 2020-04-23).

Abstract

Machine learning models deployed in real-world applications are often evaluated with precision-based metrics such as F1-score or AUC-PR (Area Under the Curve of Precision Recall). Heavily dependent on the class prior, such metrics make it difficult to interpret the variation of a model's performance over different subpopulations/subperiods in a dataset.

Show full abstract

In this paper, we propose a way to calibrate the metrics so that they can be made invariant to the prior. We conduct a large number of experiments on balanced and imbalanced data to assess the behavior of calibrated metrics and show that they improve interpretability and provide a better control over what is really measured. We describe specific real-world use-cases where calibration is beneficial such as, for instance, model monitoring in production, reporting, or fairness evaluation.

View on arXivView PDF

Code Implementations(1)

Implementation of calibrated precision and calibrated metrics

141Jupyter Notebook, PythonFeb 14, 20206 years ago

Similar Papers

Cite this paper

@article{siblini2019master,
  title  = {Master your Metrics with Calibration},
  author = {Wissam Siblini and Jordan Fréry and Liyun He-Guelton and Frédéric Oblé and Yi-Qing Wang},
  year   = {2019},
  eprint = {1909.02827},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.02827}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.02827.svg)](https://codeofpaper.com/paper/1909.02827)

Discussion