As mentioned in #478, the convergence checks for additive models are probably still incomplete, even with PR #478 being merged now. I have added corresponding TODO comments in the code, lines
|
# TODO (GAMs): Is this correct?: |
|
return(fit_s$converged && fit_s$mgcv.conv$fully.converged %||% TRUE) |
and
|
# TODO (GAMMs): I couldn't find any convergence-related information in |
|
# element `fit_s$gam`, so the GAM part is currently not checked for |
|
# convergence. For now, all we can check is the GLMM part from element |
|
# `fit_s$mer`: |
@AlejandroCatalina, do you know if (and if yes, how) we could improve our check for convergence of the submodel fits from fit_gam_callback() and fit_gamm_callback()?
As mentioned in #478, the convergence checks for additive models are probably still incomplete, even with PR #478 being merged now. I have added corresponding
TODOcomments in the code, linesprojpred/R/divergence_minimizers.R
Lines 1022 to 1023 in 97c5bea
projpred/R/divergence_minimizers.R
Lines 1025 to 1028 in 97c5bea
@AlejandroCatalina, do you know if (and if yes, how) we could improve our check for convergence of the submodel fits from
fit_gam_callback()andfit_gamm_callback()?