
Predict intervals from a horizon-specific conformal regressor
Source:R/predict_conformal.R
predict.conformalRegressorByHorizon.RdThis function generates prediction intervals that account for increasing uncertainty at longer forecast horizons. Each horizon h uses its own calibrated nonconformity score distribution, resulting in trumpet-shaped prediction intervals.
Usage
# S3 method for class 'conformalRegressorByHorizon'
predict(
object,
y_hat = NULL,
confidence = 0.95,
y_min = -Inf,
y_max = Inf,
...
)