DeepAI AI Chat
Log In Sign Up

MRCpy: A Library for Minimax Risk Classifiers

by   Kartheek Bondugula, et al.

Existing libraries for supervised classification implement techniques that are based on empirical risk minimization and utilize surrogate losses. We present MRCpy library that implements minimax risk classifiers (MRCs) that are based on robust risk minimization and can utilize 0-1-loss. Such techniques give rise to a manifold of classification methods that can provide tight bounds on the expected loss. MRCpy provides a unified interface for different variants of MRCs and follows the standards of popular Python libraries. The presented library also provides implementation for popular techniques that can be seen as MRCs such as L1-regularized logistic regression, zero-one adversarial, and maximum entropy machines. In addition, MRCpy implements recent feature mappings such as Fourier, ReLU, and threshold features. The library is designed with an object-oriented approach that facilitates collaborators and users.


page 1

page 2

page 3

page 4


Minimax risk classifiers with 0-1 loss

Supervised classification techniques use training samples to learn a cla...

Minimax Classification with 0-1 Loss and Performance Guarantees

Supervised classification techniques use training samples to find classi...

Generalized Maximum Entropy for Supervised Classification

The maximum entropy principle advocates to evaluate events' probabilitie...

YASMIN: Yet Another State MachINe library for ROS 2

State machines are a common mechanism for defining behaviors in robots, ...

A scikit-based Python environment for performing multi-label classification

Scikit-multilearn is a Python library for performing multi-label classif...

Adversarial Classification via Distributional Robustness with Wasserstein Ambiguity

We study a model for adversarial classification based on distributionall...

LibOPT: An Open-Source Platform for Fast Prototyping Soft Optimization Techniques

Optimization techniques play an important role in several scientific and...