Numeric#
- class superglm.Numeric#
Bases:
objectA single continuous feature used as-is.
Group lasso on a size-1 group = standard L1 soft-thresholding. The column is passed through without any transformation.
- build( ) GroupInfo#
Build a single-column design matrix.
- transform(
- x: NDArray,
Transform new data (pass-through).
- score(
- x: NDArray,
- beta: NDArray[floating],
Score the fitted numeric contribution directly on new data.
- reconstruct(
- beta: NDArray[floating],
Reconstruct the coefficient on the original scale.
relativity_per_unitisexp(coef), as every term reports the exponential of its contribution whatever the link, rounded asexprounds and without a warning:infabove float64’s range,0.0below it.coefis the log relativity.