Skip to content

Commit 97294f4

Browse files
authored
Merge branch 'master' into new-numpy
2 parents 02359e1 + f14f4c6 commit 97294f4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/sources/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The CHANGELOG for the current development version is available at
2020
##### Changes
2121

2222
- Address NumPy deprecations to make mlxtend compatible to NumPy 1.24
23+
- 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))
2324

2425
##### New Features and Enhancements
2526

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)