The guarantee is marginal. P(Y in C(X)) >= 1 - alpha averages over the
draw of both the calibration set and the test case. It is not conditional:
90% marginal coverage is compatible with 99% coverage on easy cases and 60%
on a hard subgroup. The guarantee rests on exchangeability and does not
hold under distribution shift.
Width is the quality measure; coverage is the correctness check. A model
with no predictive value attains valid coverage with intervals wide enough
to be uninformative, so the two are read together. The region reports its widths (or
set sizes); conformal_metrics() scores coverage against outcomes the region
did not see.
Which data calibrates. calibration is a tabular dataset holding the
predictors and the outcome, in training shape. Left NULL, a model trained
with dat_test calibrates on that split, whose residuals it already stores:
train() never fits, tunes or early-stops on dat_test. Nothing else is
assumed clean -- a validation split may have driven early stopping, and a
model chosen by its test metric has used that split for selection, which
nothing in the object records.
Conformal calibration is unrelated to the probability calibration
calibrate performs, and the two must not share rows. rtemis raises an
error where it detects shared rows.
Which method. config NULL takes the method the object supports: split
conformal for a Supervised, CV+ for a SupervisedRes. See
setup_SplitConformal, setup_CVPlus and setup_CQR.