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

feat: fast SHAP approximation #3243

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

ori-kron-wis
Copy link
Collaborator

updates in shap

@ori-kron-wis ori-kron-wis added the on-merge: backport to 1.3.x on-merge: backport to 1.3.x label Mar 10, 2025
@ori-kron-wis ori-kron-wis self-assigned this Mar 10, 2025
Copy link

codecov bot commented Mar 10, 2025

Codecov Report

Attention: Patch coverage is 70.22587% with 145 lines in your changes missing coverage. Please review.

Project coverage is 79.91%. Comparing base (9396c33) to head (81ceb79).

Files with missing lines Patch % Lines
src/scvi/utils/fastshap/surrogate.py 52.58% 101 Missing ⚠️
src/scvi/utils/fastshap/fastshap.py 78.74% 44 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3243      +/-   ##
==========================================
- Coverage   80.18%   79.91%   -0.28%     
==========================================
  Files         193      197       +4     
  Lines       17082    17569     +487     
==========================================
+ Hits        13698    14040     +342     
- Misses       3384     3529     +145     
Files with missing lines Coverage Δ
src/scvi/utils/__init__.py 100.00% <100.00%> (ø)
src/scvi/utils/fastshap/__init__.py 100.00% <100.00%> (ø)
src/scvi/utils/fastshap/utils.py 100.00% <100.00%> (ø)
src/scvi/utils/fastshap/fastshap.py 78.74% <78.74%> (ø)
src/scvi/utils/fastshap/surrogate.py 52.58% <52.58%> (ø)
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ori-kron-wis ori-kron-wis changed the title fix: SHAP expose params to user feat: fast SHAP approximation Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-merge: backport to 1.3.x on-merge: backport to 1.3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant