View source: R/postprocess_intervals_regression.R
| laplace_conf_int_reg | R Documentation |
Predict-time entry point for regression confidence intervals. Called by
parsnip via
c(pkg = "kerasnip", fun = "laplace_conf_int_reg").
For each output in the model, this builds the per-sample epistemic variance
(uncertainty on E[Y|X]) from the stored Laplace posterior and returns
symmetric Normal-based intervals at the requested confidence level.
laplace_conf_int_reg(object, x, laplace_data, level = 0.95)
object |
The raw Keras model (from |
x |
Processed predictor data (matrix or array). |
laplace_data |
A named list of Laplace posterior data, one entry per
output (from |
level |
Confidence level (default 0.95). Passed through from
|
A named list of matrices (one per output), each with columns
.pred, .pred_lower, and .pred_upper.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.