crepes 0.6.0
v0.6.0 (28/06/2023)
Features
-
The classes
ConformalClassifierandWrapClassifierhave been added tocrepes, allowing for generation of standard and Mondrian conformal classifiers, which produce p-values and prediction sets. Thecalibratemethod ofWrapClassifierallows for easily generating class-conditional conformal classifiers and using out-of-bag calibration. See the documentation for the interface to objects of the class through thecalibrate,predict_pandpredict_setmethods, in addition to thefit,predictandpredict_probamethods of the wrapped learner. The methodevaluateallows for evaluating the predictive performance using a set of standard metrics. -
The function
hingefor computing non-conformity scores for conformal classifiers has been added tocrepes.extras.
Fixes
-
The class
Wraphas changed name toWrapRegressorand the arguments to thecalibratemethod of this class have been changed to be in line with thecalibratemethod ofWrapClassifier. -
The Jupyter notebooks
crepes_nb_wrap.ipynbandcrepes_nb.ipynbhave been updated and extended