Calibrate Dissimilarity Index to Prediction Error
Source:R/borg_error_profile.R
borg_error_profile.RdModels the relationship between the Dissimilarity Index (DI) and prediction error using isotonic regression. Enables pixel-level uncertainty estimation: for any new prediction point, its DI can be mapped to an expected error.
Value
A list with class "borg_error_profile" containing:
- profile
Data frame: di_bin, mean_di, mean_error, n_obs
- raw
Data frame: di, error (per observation)
- iso_fit
Isotonic regression fit for predicting error from DI
Has an autoplot() method and a predict() method.
References
Meyer, H., & Pebesma, E. (2021). Predicting into unknown space? Estimating the area of applicability of spatial prediction models. Methods in Ecology and Evolution, 12(9), 1620-1633. doi:10.1111/2041-210X.13650