MAPIE API

Regression

regression.MapieRegressor([estimator, ...])

Prediction interval with out-of-fold residuals.

Classification

classification.MapieClassifier([estimator, ...])

Prediction sets for classification.

Metrics

metrics.regression_coverage_score(y_true, ...)

Effective coverage score obtained by the prediction intervals.

metrics.classification_coverage_score(...)

Effective coverage score obtained by the prediction sets.

metrics.regression_mean_width_score(...)

Effective mean width score obtained by the prediction intervals.

metrics.classification_mean_width_score(...)

Mean width of prediction set output by mapie.classification.MapieClassifier.