fit_path#
- SuperGLM.fit_path(
- X: FrameLike,
- y: NDArray,
- sample_weight: NDArray | None = None,
- offset: NDArray | None = None,
- *,
- n_lambda: int = 50,
- lambda_ratio: float = 0.001,
- lambda_seq: NDArray | None = None,
Fit a regularization path from lambda_max down to lambda_min.
Warm-starts each lambda from the previous solution, and leaves the model fitted at the last one. The returned
coef_pathandintercept_pathare raw coefficients: beside a numeric column far from zero, rebuilding predictions from them cancels the column’s offset (PathResult); predict with a fitted model instead.