Skip to content

Commit f14f4c6

Browse files
authored
Merge pull request rasbt#1036 from namanmistry/sklearn_normalize_depreciation_fix
Sklearn normalize depreciation fix
2 parents a60f127 + ea83ad6 commit f14f4c6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/sources/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The CHANGELOG for the current development version is available at
1919

2020
##### Changes
2121

22-
- ...
22+
- Changed the signature of the `LinearRegression` model of sklearn in the test removing the `normalize` parameter as it is deprecated. ([#1036](https://github.com/rasbt/mlxtend/issues/1036))
2323

2424
##### New Features and Enhancements
2525

mlxtend/regressor/tests/test_stacking_cv_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_multivariate():
8484
def test_multivariate_class():
8585
lr = LinearRegression()
8686
ridge = Ridge(random_state=1)
87-
meta = LinearRegression(normalize=True)
87+
meta = LinearRegression()
8888
stregr = StackingCVRegressor(
8989
regressors=[lr, ridge], meta_regressor=meta, multi_output=True, random_state=0
9090
)

mlxtend/regressor/tests/test_stacking_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_multivariate():
5858
def test_multivariate_class():
5959
lr = LinearRegression()
6060
ridge = Ridge(random_state=1)
61-
meta = LinearRegression(normalize=True)
61+
meta = LinearRegression()
6262
stregr = StackingRegressor(
6363
regressors=[lr, ridge], meta_regressor=meta, multi_output=True
6464
)

0 commit comments

Comments
 (0)