Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GPUTreeShap, add docs (#6281)
* Update GPUTreeShap, add docs * Fix test Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
- Loading branch information
1 parent
b180223
commit f0c3ff3
Showing
5 changed files
with
254 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# GPU Acceleration Demo | ||
|
||
`cover_type.py` shows how to train a model on the [forest cover type](https://archive.ics.uci.edu/ml/datasets/covertype) dataset using GPU acceleration. The forest cover type dataset has 581,012 rows and 54 features, making it time consuming to process. We compare the run-time and accuracy of the GPU and CPU histogram algorithms. | ||
`cover_type.py` shows how to train a model on the [forest cover type](https://archive.ics.uci.edu/ml/datasets/covertype) dataset using GPU acceleration. The forest cover type dataset has 581,012 rows and 54 features, making it time consuming to process. We compare the run-time and accuracy of the GPU and CPU histogram algorithms. | ||
|
||
`shap.ipynb` demonstrates using GPU acceleration to compute SHAP values for feature importance. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule gputreeshap
updated
7 files
+1 −1 | CMakeLists.txt | |
+342 −59 | GPUTreeShap/gpu_treeshap.h | |
+36 −23 | benchmark/benchmark.py | |
+5 −1 | benchmark/format_results.py | |
+0 −104 | ci/checks/copyright.py | |
+2 −17 | ci/checks/style.sh | |
+266 −18 | tests/test_gpu_treeshap.cu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters