MRCpy: A Library for Minimax Risk Classifiers

Kartheek Bondugula, Verónica Álvarez, José I. Segovia-Martín, Aritz Pérez, Santiago Mazuelas
8/4/2021
stat.MLcs.LG

Official code: MachineLearningBCAM/MRCpy (32 stars, Python, GPL-3.0, last commit 2026-10-18).

Abstract

Libraries for supervised classification have enabled the wide-spread usage of machine learning methods. Existing libraries, such as scikit-learn, caret, and mlpack, implement techniques based on the classical empirical risk minimization (ERM) approach.

Show full abstract

We present a Python library, MRCpy, that implements minimax risk classifiers (MRCs) based on the robust risk minimization (RRM) approach. The library offers multiple variants of MRCs that can provide performance guarantees, enable efficient learning in high dimensions, and adapt to distribution shifts. MRCpy follows an object-oriented approach and adheres to the standards of popular Python libraries, such as scikit-learn, facilitating readability and easy usage together with a seamless integration with other libraries. The source code is available under the GPL-3.0 license at https://github.com/MachineLearningBCAM/MRCpy.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A Library for Minimax Risk Classifiers

322PythonJan 19, 20211 months agoGPL-3.0
minimax-risk-classifierspython3robust-machine-learningsupervised-classification-methods

Similar Papers

Cite this paper

@article{bondugula2021mrcpy,
  title  = {MRCpy: A Library for Minimax Risk Classifiers},
  author = {Kartheek Bondugula and Verónica Álvarez and José I. Segovia-Martín and Aritz Pérez and Santiago Mazuelas},
  year   = {2021},
  eprint = {2108.01952},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.01952}
}

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/2108.01952.svg)](https://codeofpaper.com/paper/2108.01952)

Discussion