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

Remove old callback deprecated in 1.3. #7280

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

trivialfis
Copy link
Member

No description provided.

@trivialfis trivialfis requested a review from hcho3 September 30, 2021 16:11
@codecov-commenter
Copy link

Codecov Report

Merging #7280 (0b67f32) into master (2a0368b) will increase coverage by 0.95%.
The diff coverage is 80.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7280      +/-   ##
==========================================
+ Coverage   82.64%   83.59%   +0.95%     
==========================================
  Files          13       13              
  Lines        4067     3889     -178     
==========================================
- Hits         3361     3251     -110     
+ Misses        706      638      -68     
Impacted Files Coverage Δ
python-package/xgboost/training.py 94.05% <80.00%> (-1.29%) ⬇️
python-package/xgboost/callback.py 97.70% <100.00%> (+15.50%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a0368b...0b67f32. Read the comment docs.

python-package/xgboost/training.py Outdated Show resolved Hide resolved
python-package/xgboost/training.py Outdated Show resolved Hide resolved
@trivialfis trivialfis requested a review from hcho3 October 7, 2021 08:32
@trivialfis
Copy link
Member Author

@hcho3 Fixed the error messages and removed more unused code. Will follow up with some more refactorings and type hints once this PR is merged. Could you please take another look?

python-package/xgboost/training.py Outdated Show resolved Hide resolved
@hcho3
Copy link
Collaborator

hcho3 commented Oct 8, 2021

Everything else looks good to me. Please address one comment above.

CV.

Lint.

Fix tests.

Remove fmt too.

Fix GPU test.

Apply suggestions from code review

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>

Remove old error.

Remove duplicated code.

Remove callback env.

Unused import.

Lint.

Address reviewer's comment.
@trivialfis trivialfis force-pushed the remove-old-callback branch from 75e6c4e to 8e1014e Compare October 8, 2021 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants