rules/glum/deprecated-alphas-param.md

GeneralizedLinearRegressor deprecates the alphas parameter in favor of alpha (which accepts an iterable when alpha_search=True) and emits a DeprecationWarning during fit.

diff
1-glm = GeneralizedLinearRegressor(alphas=[0.1, 1.0], alpha_search=True)
2+glm = GeneralizedLinearRegressor(alpha=[0.1, 1.0], alpha_search=True)

What the rule reports

Calls to GeneralizedLinearRegressor passing alphas= (note that GeneralizedLinearRegressorCV continues to use alphas= and is not flagged).

How to fix it

Rename alphas= to alpha=. Safe autofixes apply directly with xpd check --fix.