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 110 forks source link

[ENHANCEMENT] Change "method" argument as Iterable in `MapieClassifier` #105

Closed vtaquet closed 2 years ago

vtaquet commented 3 years ago

MapieClassifier should accept the method argument as an Iterable so conformity scores just need to be calibrated once to estimate prediction sets with different conformal methods.

vtaquet commented 2 years ago

We decided finally not to include the method argument in predict.