refit_unpenalised#
- SuperGLM.refit_unpenalised(
- X: object,
- y: NDArray,
- sample_weight: NDArray | None = None,
- offset: NDArray | None = None,
- *,
- keep_smoothing: bool = True,
Refit with only active features and no selection penalty.
The refit keeps the model’s declared
separationmode. A level whose separation the selection penalty exempted is not exempt without it, so underseparation="error"the refit raisesSeparationErrorfor that level, and under"warn"it fits with aSeparationWarning.