Conformal prediction turns any forecast into prediction sets with a coverage guarantee: a score (for example , or that divided by a predicted standard deviation) is computed on calibration examples, and the set for a new is with the -th smallest calibration score (split conformal; Vovk, Gammerman and Shafer, 2005). The adaptive version updates the level online, , to keep the long-run error rate at when the data drift (Gibbs and Candès, 2021).
ml_uncert.scores and ml_uncert.conformal.ml_uncert.conformal.