-
-
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
[python-package][PySpark] Expose Training and Validation Metrics #11133
base: master
Are you sure you want to change the base?
Conversation
3d7161a
to
99fc349
Compare
99fc349
to
25a06b8
Compare
|
||
|
||
@dataclass | ||
class _XGBoostTrainingSummary: |
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.
Could be XGBoostTrainingSummary
?
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.
DONE
@@ -0,0 +1,43 @@ | |||
"""Xgboost training summary integration submodule.""" |
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.
how about renaming xgboost_training_summary.py to summary.py?
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.
DONE
a1f9df2
to
469c6bb
Compare
Hi @ayoub317, Could you be able to add some unit tests for this feature? |
Hi @wbo4958, Yes, with pleasure ! Could you please provide some pointers on where I should define these tests ? I had a quick look at the test codebase, and I would assume the following: The tests for the regressor and classifier could be placed under: The test for the ranker could be placed under: Does that sound like a good choice ? Thanks ! |
The path you pasted should be ok for adding new testing. |
469c6bb
to
ef56736
Compare
…gSummary to XGBoostTrainingSummary
5828a0c
to
da80def
Compare
Thanks @wbo4958 ! I pushed another commit adding the tests. Any feedback is welcome. |
da80def
to
3e60eec
Compare
Closes #11132