discretization_impact#

SuperGLM.discretization_impact(
X: FrameLike,
y: NDArray,
sample_weight: NDArray | None = None,
**kwargs,
) → DiscretizationResult#

Analyse the impact of discretizing this fit’s smooth terms.

Spline and polynomial main effects into bins, and a continuous-by-continuous interaction onto the grid its rating-table block is sampled on.