57aa05aef85315e2dde56abc0b77e4864fde9d15,mlxtend/regressor/tests/test_stacking_regression.py,,test_weight_unsupported_regressor,#,105
Before Change
svr_lin = SVR(kernel="linear", gamma="auto")
ridge = Ridge(random_state=1)
svr_rbf = SVR(kernel="rbf", gamma="auto")
lasso = Lasso(random_state=1)
stregr = StackingRegressor(regressors=[svr_lin, lr, ridge, lasso],
meta_regressor=svr_rbf)
with pytest.raises(TypeError):
After Change
svr_lin = SVR(kernel="linear", gamma="auto")
ridge = Ridge(random_state=1)
svr_rbf = SVR(kernel="rbf", gamma="auto")
knn = KNeighborsRegressor()
stregr = StackingRegressor(regressors=[svr_lin, lr, ridge, knn],
meta_regressor=svr_rbf)
with pytest.raises(TypeError):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: rasbt/mlxtend
Commit Name: 57aa05aef85315e2dde56abc0b77e4864fde9d15
Time: 2020-06-28
Author: raschkas@msu.edu
File Name: mlxtend/regressor/tests/test_stacking_regression.py
Class Name:
Method Name: test_weight_unsupported_regressor
Project Name: rasbt/mlxtend
Commit Name: 57aa05aef85315e2dde56abc0b77e4864fde9d15
Time: 2020-06-28
Author: raschkas@msu.edu
File Name: mlxtend/regressor/tests/test_stacking_cv_regression.py
Class Name:
Method Name: test_unsupported_regressor
Project Name: rasbt/mlxtend
Commit Name: 57aa05aef85315e2dde56abc0b77e4864fde9d15
Time: 2020-06-28
Author: raschkas@msu.edu
File Name: mlxtend/regressor/tests/test_stacking_regression.py
Class Name:
Method Name: test_weight_unsupported_with_no_weight
Project Name: rasbt/mlxtend
Commit Name: 57aa05aef85315e2dde56abc0b77e4864fde9d15
Time: 2020-06-28
Author: raschkas@msu.edu
File Name: mlxtend/regressor/tests/test_stacking_regression.py
Class Name:
Method Name: test_weight_unsupported_meta