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.27k stars 102 forks source link

Share the quantile function between regression and classification #479

Open thibaultcordier opened 3 months ago

thibaultcordier commented 3 months ago

Is your feature request related to a problem? Please describe. The function that calculates the quantile for regression and classification is not the same.

Describe the solution you'd like Reuse one of them for the other task, so you only have to manage one function.