-
Notifications
You must be signed in to change notification settings - Fork 872
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most recent scikit-learn results in several failed unit tests (#1091)
* modified: mlxtend/classifier/tests/test_stacking_classifier.py - Marked :test:`test_StackingClassifier` as skip because scikit-learn implemented its own :class:`StackingClassifier` in 0.22. * modified: mlxtend/classifier/tests/test_stacking_classifier.py - Formatted with isort, black, flake8. * modified: mlxtend/classifier/tests/test_stacking_classifier.py - Skipping all failing unit tests related to :class:`StackingClassifier` as they don't align with `scikit-learn`'s implementation. * modified: mlxtend/classifier/tests/test_stacking_cv_classifier.py - Skipping failed unit tests because scikit-learn's StackingClassifier has built-in cross-validation support. * modified: .github/workflows/python-package-conda.yml - Updated scikit-learn version to 1.3.1 modified: environment.yml - Updated scikit-learn version to 1.3.1 modified: requirements.txt - Updated scikit-learn version to 1.3.1 * modified: mlxtend/preprocessing/tests/test_transactionencoder.py - Updated failing unit test to compare output directly instead of converting to numpy arrays (which results in errors unless the dtype is set to object). * modified: mlxtend/regressor/tests/test_stacking_cv_regression.py - Skipping `test_gridsearch_replace_mix` as it uses `StackingCVRegressor` when `scikit-learn` has its own implementation as of 0.22. * fix stacking classifiers * update * adjust for macos vs linux precision * autoformat workflow * autoformat workflow * hopefully final update * hopefully final update * leeway for linux * leeway for linux --------- Co-authored-by: rasbt <[email protected]>
- Loading branch information
Showing
11 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
# | ||
# License: BSD 3 clause | ||
|
||
__version__ = "0.23.1" | ||
__version__ = "0.23.2dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
scipy>=1.2.1 | ||
numpy>=1.16.2 | ||
pandas>=0.24.2 | ||
scikit-learn>=1.0.2 | ||
scikit-learn>=1.3.1 | ||
matplotlib>=3.0.0 | ||
joblib>=0.13.2 |