-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes lgb warning when not using any categorical features #1681
Conversation
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #1681 +/- ##
==========================================
- Coverage 94.14% 94.05% -0.09%
==========================================
Files 125 125
Lines 11385 11371 -14
==========================================
- Hits 10718 10695 -23
- Misses 667 676 +9
... and 9 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed a small typo, a big concerned that the new Parallel import will break depending on the Python version but the merge github action will tell us if it does.
from sklearn.utils.multiclass import check_classification_targets | ||
from sklearn.utils.parallel import Parallel, delayed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hope that it does not break with python 3.7 which support is being dropped left and right... On scikit-learn github repository, they indicate "scikit-learn 1.0 and later require Python 3.7 or newer. scikit-learn 1.1 and later require Python 3.8 or newer.". Could not find in the log when did the parallel module change...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's true, let's check later on in merge workflow.
Co-authored-by: madtoinou <[email protected]>
* fixes lgb warning when not using any categorical features * fixes deprecation warning for sklearn Parallel delayed * fix failing unittest for categorical lgbm * Apply suggestions from code review Co-authored-by: madtoinou <[email protected]> --------- Co-authored-by: madtoinou <[email protected]>
Summary