These packages compute the generalized error estimators proposed in Marcondes, D. and Braga-Neto, U.; Generalized Resubstitution for Regression Error Estimation (2024) where more details can be found.
To install in R:
devtools::install_github("dmarcondes/genree")