thibaultcordier / MAPIE

A scikit-learn-compatible module for estimating prediction intervals.
https://mapie.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

ENH: Add the split strategy to regression class #2

Closed thibaultcordier closed 1 year ago

thibaultcordier commented 1 year ago

Description

To make split conformal predictions, you have to pre-train a model on X_train, then use the fit method with the cv=prefit parameter with MapieRegressor on X_calib. This PR proposes to do it automatically when using the fit method with the cv=1 parameter on X = X_train U X_calib.

Fixes #3

Type of change

How Has This Been Tested?

Checklist