-
Notifications
You must be signed in to change notification settings - Fork 550
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
Use raft::span in TreeExplainer #4714
Conversation
…treeshap-refactor
…treeshap-refactor
…treeshap-refactor
Codecov Report
@@ Coverage Diff @@
## branch-22.06 #4714 +/- ##
===============================================
Coverage ? 79.89%
===============================================
Files ? 180
Lines ? 11371
Branches ? 0
===============================================
Hits ? 9085
Misses ? 2286
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
@RAMitchell @trivialfis Can I get a review? |
@@ -200,14 +171,30 @@ struct SplitCondition { | |||
// Combine two split conditions on the same feature | |||
__host__ __device__ void Merge(const SplitCondition& other) |
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.
Does merge ever get called on the host? Just wondering if we can remove the host categories.
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.
LGTM
@gpucibot merge |
Now that RAFT has a `span` implementation, use that in TreeExplainer. Authors: - Philip Hyunsu Cho (https://github.com/hcho3) - Rory Mitchell (https://github.com/RAMitchell) Approvers: - Jiaming Yuan (https://github.com/trivialfis) - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#4714
Now that RAFT has a
span
implementation, use that in TreeExplainer.