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

[Py] Get shaprpy up to speed #436

Merged
merged 9 commits into from
Jan 21, 2025
Merged

[Py] Get shaprpy up to speed #436

merged 9 commits into from
Jan 21, 2025

Conversation

martinju
Copy link
Member

@martinju martinju commented Jan 21, 2025

  • Codebase simplification:

    • python/shaprpy/explain.py: Removed the paired_shap_sampling and kernelSHAP_reweighting parameters from the explain function, and cleaned up iterative and timing code. [1] [2] [3] [4] [5] [6]
    • python/shaprpy/utils.py: Added handling for NULL names in recurse_r_tree function to ensure proper dictionary creation to then return the same output as the R function.
  • Updated the examples outputs to reflect new calculations.

Dependency updates:

@martinju martinju merged commit 274face into master Jan 21, 2025
9 checks passed
@martinju martinju deleted the fix_shaprpy branch January 21, 2025 11:42
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.

1 participant