Withhold a calibration that is an identity rather than an estimate
Source:R/validation.R
mm_withhold_identity_calibration.RdScoring an unpenalized maximum-likelihood fit on the very rows that produced it forces the calibration intercept to zero and the slope to one: they are the fit's own score equations rearranged, not evidence about calibration. Printed in a column beside a held-out slope they read as the model being perfectly calibrated, which is the one thing they cannot show.
Arguments
- row
A one-row metrics frame from
mm_metrics().- tol
How close to 0 and 1 counts as the identity.