SlowFitWarning#
- exception superglm.SlowFitWarning#
Bases:
UserWarningAn exact REML fit is large enough to be slow: most of a minute or more.
SuperGLM.fit_remlwarns before the smoothing search starts when the model is fitted withdiscrete=Falseand rows x coefficients squared reaches 1e11, for a family whose working weights change with the fit (every family except Gaussian with the identity link). It does not warn for a structured-solver fit with a random effect or factor smooth (it never forms the full cross-product) or a model with a monotone term (different engine). The fit still runs and its result is unaffected. Passdiscrete=Trueto the constructor for the fast path, or silence withwarnings.filterwarnings("ignore", category=SlowFitWarning).