Skip to content

Commit 5704442

Browse files
authored
MNT Change MRO for Generalized Linear Models (scikit-learn#18614)
1 parent 41fd8aa commit 5704442

File tree

1 file changed

+1
-1
lines changed
  • sklearn/linear_model/_glm

1 file changed

+1
-1
lines changed

sklearn/linear_model/_glm/glm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _y_pred_deviance_derivative(coef, X, y, weights, family, link):
4848
return y_pred, devp
4949

5050

51-
class GeneralizedLinearRegressor(BaseEstimator, RegressorMixin):
51+
class GeneralizedLinearRegressor(RegressorMixin, BaseEstimator):
5252
"""Regression via a penalized Generalized Linear Model (GLM).
5353
5454
GLMs based on a reproductive Exponential Dispersion Model (EDM) aim at

0 commit comments

Comments
 (0)