Is your feature request related to a problem? Please describe.
Despite attractive theoretical guarantees and practical successes, Predictive Interval (PI) given by Conformal Prediction (CP) may not reflect the uncertainty of a given model. This limitation arises from CP methods using a constant correction for all test points, disregarding their individual uncertainties, to ensure coverage properties. (From Salim I. Amoukou, N. Brunel (2023)).
Different methods are proposed to deal with this problem, which we have grouped under the name "adaptive conformal prediction" (see additional context).
Describe the solution you'd like
The objective of this enhancement is to propose conditional / adaptative conformal prediction for MapieRegressor and MapieClassifier (in two different issues/PRs ?).
Describe alternatives you've considered
One way to achieve this is to adapt the fit and predict methods to the different classes of ConformityScore.
Additional context
In "adaptive conformal prediction", we distinguish different approaches (non exhaustive list):
Reweighting of the nonconformity score
Localized Conformal Prediction (LCP): Guan, L. (2021). Localized Conformal Prediction: A Generalized Inference Framework for Conformal Prediction. Biometrika.
Is your feature request related to a problem? Please describe.
Different methods are proposed to deal with this problem, which we have grouped under the name "adaptive conformal prediction" (see additional context).
Describe the solution you'd like
The objective of this enhancement is to propose conditional / adaptative conformal prediction for
MapieRegressor
andMapieClassifier
(in two different issues/PRs ?).Describe alternatives you've considered
One way to achieve this is to adapt the
fit
andpredict
methods to the different classes ofConformityScore
.Additional context
In "adaptive conformal prediction", we distinguish different approaches (non exhaustive list):