Overview of crepes
maincrepes is a Python package designed for conformal prediction. It allows you to build conformal classifiers, regressors, and predictive systems on top of any standard classifier or regressor.
Key capabilities include:
- Converting original predictions into well-calibrated p-values and cumulative distribution functions (CDFs).
- Generating prediction sets and intervals with coverage guarantees.
- Implementing standard and Mondrian conformal classifiers.
- Implementing standard, normalized, and Mondrian conformal regressors and predictive systems.
Extensibility:
- You can provide your own functions for computing difficulty estimates, non-conformity scores, and Mondrian categories.
- The
crepes.extrasmodule provides standard options for these computations. - The
crepes.martingalesmodule provides classes for testing the exchangeability assumption.