Skip to content

Commit

Permalink
Merge pull request #3248 from rapidsai/branch-0.17
Browse files Browse the repository at this point in the history
[gpuCI] Auto-merge branch-0.17 to branch-0.18 [skip ci]
  • Loading branch information
GPUtester authored Dec 3, 2020
2 parents 50df6f6 + b7c1110 commit ac70782
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
- PR #3219: Update CI to use XGBoost 1.3.0 RCs
- PR #3221: Update contributing doc for label support
- PR #3177: Make Multinomial Naive Bayes inherit from `ClassifierMixin` and use it for score
- PR #3241: Updating RAFT to latest
- PR #3240: Minor doc updates

## Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion cpp/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ else(DEFINED ENV{RAFT_PATH})

ExternalProject_Add(raft
GIT_REPOSITORY https://github.com/rapidsai/raft.git
GIT_TAG 7c107206f6afb686f4faaf2d282cc2c969e54a30
GIT_TAG f75d7b437bf1da3df749108161b8a0505fb6b7b3
PREFIX ${RAFT_DIR}
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def test_different_parameters(dtype, nfeatures, nbackground, model,
exp_v = float(cu_explainer.expected_value)
fx = mod.predict(X_test)
for i in range(5):
assert(np.sum(cp.asnumpy(
cu_shap_values[i])) - abs(fx[i] - exp_v)) <= 0.01
assert 0.99 <= (abs(np.sum(cp.asnumpy(
cu_shap_values[i]))) / abs(fx[i] - exp_v)) <= 1.01


###############################################################################
Expand Down

0 comments on commit ac70782

Please sign in to comment.