-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the scikit learn restriction and bump minimal python version t…
…o 3.8 (#233) * Remove the scikit learn restriction * Set minimal version to 3.7 * Fix linter and swap the type check in the metalearners * Replace boston dataset by california * rollback the type check change, linter will break * Remove list accessor of the california dataset * Reformat imports * Change acessors * Fix feature name * Remove trailing space * Put the correct test value * Change test value * Change test value * Fix test pd extractors * Fix transformation * Fix type annotations * Lint fix * Lint fix * Put the correct version * Add changelog * Bump lightgbm * Add upper limits to deps * Bump major * Increase major constraint of pandas * Remove upper limitation on xgboost * Remove silent unused keyword * Update a few types * Lint fix * Add typing extensions for python 3.7 support * trick to avoid type checking for lists * Fix classification tests * Try to replace ndarrays by numpy typing NDArrays * Change back ndarray * Reduce type list * Add one more type * Add other types * Remove all other types * Try to use numpy typing * Drop python 3.7 support * Swap utils by testing in pandas assertion functions * In order to support pandas 2 it is required to bump xgboost up to version 2 * Fix xgboost dmatrix tests * Fix rank categorical * Solve pd extractors test * Fix hash eval test * Fix lookup in ensemble learner * Add type annotation to the new functions * Create conditional assertions based on python version * Remove necessity for typing extension and fix hash values * Lint fix * Fix mypi for multiclass classification for lgbm classifier * Bump catboost and joblib * Bump pytest * Bump coverage packages * Bump xdist * Bump mypy * Bump hypothesis * Rollback coverage bumps * Update changelog * Update changelog * Change hash test to match exactly 8 minor version
- Loading branch information
Showing
22 changed files
with
348 additions
and
228 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
joblib>=0.13.2,<2 | ||
numpy>=1.16.4,<2 | ||
pandas>=0.24.1,<2 | ||
scikit-learn>=0.21.2,<0.25.0 | ||
statsmodels>=0.9.0,<1 | ||
toolz>=0.9.0,<1 | ||
joblib>=1.3.2,<2 | ||
numpy>=1.24.4,<2 | ||
pandas>=2,<3 | ||
scikit-learn>=1,<2 | ||
statsmodels>=0.14.0,<1 | ||
toolz>=0.12.0,<1 |
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 +1 @@ | ||
catboost>=0.14.2,<2 | ||
catboost>=1.2.2,<2 |
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 +1 @@ | ||
lightgbm>=2.2.2,<4 | ||
lightgbm>=4,<5 |
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,7 +1,7 @@ | ||
pytest>=4.2.1,<7 | ||
pytest>=7.4.3,<8 | ||
pytest-cov>=2.6.1,<3 | ||
pytest-xdist>=1.26.1,<3 | ||
mypy>=0.670,<1 | ||
pytest-xdist>=3.3.1,<4 | ||
mypy>=1.6.1,<2 | ||
coverage<5 | ||
codecov>=2.0,<3 | ||
hypothesis>=5.5.4,<7 | ||
hypothesis>=6.88.3,<7 |
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,2 +1,2 @@ | ||
shap>=0.31.0,<=0.40 | ||
swifter>=0.284,<2 | ||
shap>=0.43,<1 | ||
swifter>=0.24,<2 |
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 +1 @@ | ||
xgboost>=0.81,<1.5 | ||
xgboost>=2,<3 |
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 +1 @@ | ||
2.3.1 | ||
3.0.0 |
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
Oops, something went wrong.