apply_shape_postfit#

SuperGLM.apply_shape_postfit(
X: object,
sample_weight: NDArray | None = None,
offset: NDArray | None = None,
*,
n_grid: int = 500,
) → SuperGLM#

Repair postfit monotone and curvature-constrained spline terms.