-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Add base_margin for evaluation dataset. #6591
Conversation
116aada
to
e905321
Compare
Note to myself: Compile a list of entry points of meta info. |
d101a6b
to
273da8e
Compare
@hcho3 CI seems to be running into trouble. ;-( |
@trivialfis Can you fix this error?
|
Yup, I will be working on this today. |
c43532b
to
836edf2
Compare
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.
Thanks for consolidating common logic. It looks much nicer.
Since I have spited this PR into smaller part in #6601 and will continue to do so for better review, I will add links to related PRs. |
* Add base margin to evaluation datasets. * Unify the code base for evaluation matrices.
836edf2
to
c1cbc4c
Compare
Added a test for avoiding duplicated DMatrix after rebasing. |
@hcho3 Ready for another round of review. |
Codecov Report
@@ Coverage Diff @@
## master #6591 +/- ##
==========================================
+ Coverage 80.95% 80.98% +0.03%
==========================================
Files 13 13
Lines 3696 3676 -20
==========================================
- Hits 2992 2977 -15
+ Misses 704 699 -5
Continue to review full report at Codecov.
|
Close #6583 .
Close #6300 .
base_margin
to evaluation dataset in skl.DMatrix
constructor, and deprecate the pos arguments.I will split up this mono PR after getting all the pieces together. With growing size of meta info, I need to do some refactoring.
Small parts are extracted to: