scikit-learn-contrib / MAPIE

A scikit-learn-compatible module to estimate prediction intervals and control risks based on conformal predictions.
https://mapie.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1.3k stars 111 forks source link

Adaptation of Conditional CP method to classification #500

Closed Damien-Bouet closed 1 month ago

Damien-Bouet commented 3 months ago

Description

To adapt the CCP method to classification tasks, we need to create a new main class SplitCPClassifier. The calibrators are the same, as they just use conformity scores (no matter the task). We will reuse the classification conformity scores, added since the MapieClassifier refacto.

Fixes #499

Type of change

How Has This Been Tested?

Checklist