-
-
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
Update GPUTreeshap #6163
Update GPUTreeshap #6163
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6163 +/- ##
==========================================
+ Coverage 78.83% 78.91% +0.08%
==========================================
Files 12 12
Lines 3090 3102 +12
==========================================
+ Hits 2436 2448 +12
Misses 654 654
Continue to review full report at Codecov.
|
unsigned ntree_limit, | ||
std::vector<bst_float>* tree_weights, | ||
bool approximate) override { | ||
if (approximate) { |
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.
We need dispatching in gbm get predictor.
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.
There might be a benefit to explicitly failing, maybe the user is expecting the algorithm to use GPU and it is silently switching to CPU.
import unittest | ||
import pytest | ||
|
||
try: |
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.
Can we move this into testing.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.
I prefer it to stay here, I don't think it will be reused.
386b375
to
4d3fdd3
Compare
Can we close #5875 by this PR? |
Enable feature interactions
Reduce python test time
Add integration test with shap library