Skip to content
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

SurvSHAP(t) calculation using {treeshap} and fixes for SurvLIME #87

Merged
merged 58 commits into from
Oct 24, 2023

Conversation

krzyzinskim
Copy link
Collaborator

  • added new calculation_method for surv_shap() called "treeshap" that use treeshap package (#75)
  • enable to calculate SurvSHAP(t) explanations based on subsample of explainer's data
  • changed default kernel width in SurvLIME from sqrt(p * 0.75) to sqrt(p) * 0.75
  • fixed error in SurvLIME when non-factor categorical_variables were provided

kapsner and others added 30 commits April 4, 2023 17:26
…xactly one row

due to indexing of y_true to first element and if not using y_true the function produces strange results
including support for global survshap values and unit-tests
- removed data.table parts
- updated error handling
- added unit tests for treeshap (both, local and global shap)

addresses #75
…hod in surv_shap

which caused error of github action unittests when using 'exact_kernel'
update upstream commits
collect and update upstream enhancements
@mikolajsp mikolajsp merged commit 371fda2 into main Oct 24, 2023
7 checks passed
@mikolajsp mikolajsp deleted the treeshap branch October 24, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants