crepes 0.6.0
v0.6.0 (28/06/2023)
Features
-
The classes
ConformalClassifier
andWrapClassifier
have been added tocrepes
, allowing for generation of standard and Mondrian conformal classifiers, which produce p-values and prediction sets. Thecalibrate
method ofWrapClassifier
allows 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_p
andpredict_set
methods, in addition to thefit
,predict
andpredict_proba
methods of the wrapped learner. The methodevaluate
allows for evaluating the predictive performance using a set of standard metrics. -
The function
hinge
for computing non-conformity scores for conformal classifiers has been added tocrepes.extras
.
Fixes
-
The class
Wrap
has changed name toWrapRegressor
and the arguments to thecalibrate
method of this class have been changed to be in line with thecalibrate
method ofWrapClassifier
. -
The Jupyter notebooks
crepes_nb_wrap.ipynb
andcrepes_nb.ipynb
have been updated and extended