Skip to content
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

Fix xgboost feature selector callbacks #161

Merged
merged 1 commit into from
Oct 30, 2022
Merged

Conversation

amirhessam88
Copy link
Member

@amirhessam88 amirhessam88 commented Oct 30, 2022

Description

  • Added a warning note that callbacks=True will break if the criterion for early_stopping_round was not met.

Resolves: #issue-number-here

Pull Request Checklist

  • Added tests for added or changed code.
  • Added documentation for changed code.

@@ -1045,6 +1045,10 @@ def _callbacks(self) -> None:
None
"""
if self.callbacks:
# TODO(amir): ditch print with logger
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will standardize all prints with logging so0on

@codecov
Copy link

codecov bot commented Oct 30, 2022

Codecov Report

Base: 80.43% // Head: 80.54% // Increases project coverage by +0.11% 🎉

Coverage data is based on head (8e94174) compared to base (cd594b8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #161      +/-   ##
==========================================
+ Coverage   80.43%   80.54%   +0.11%     
==========================================
  Files          22       22              
  Lines        1963     1964       +1     
  Branches      254      254              
==========================================
+ Hits         1579     1582       +3     
+ Misses        329      328       -1     
+ Partials       55       54       -1     
Flag Coverage Δ
unittests 80.54% <100.00%> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/slickml/selection/_xgboost.py 100.00% <100.00%> (+1.06%) ⬆️

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@amirhessam88 amirhessam88 merged commit 5838463 into master Oct 30, 2022
@amirhessam88 amirhessam88 deleted the amir/base-selector branch October 30, 2022 04:25
@amirhessam88 amirhessam88 self-assigned this Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant