
Predict Prediction Intervals for Classification via LLA
Source:R/postprocess_intervals_classification.R
laplace_pred_int_cls.RdPredict-time entry point for classification prediction intervals.
Called by parsnip via
c(pkg = "kerasnip", fun = "laplace_pred_int_cls").
After computing epistemic probability samples (as in conf_int), this
draws class labels from Bernoulli(p_sample) or
Categorical(p_sample) and returns per-class quantiles of the
resulting indicator samples — matching the posterior predictive
behaviour of Stan and BART classification engines.