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

Improvements to knnshap parallelization #632

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

mdbenito
Copy link
Collaborator

@mdbenito mdbenito commented Dec 5, 2024

Description

This PR distributes test samples in the parallelization of KNN shapley across workers, instead of processing test points one by one. This reduces the memory cost and the number of processes started.

Changes

  • Uniformly distribute test points across processes
  • Fail with GroupedDatasets

Checklist

  • Wrote Unit tests (if necessary)
  • Updated Documentation (if necessary) -> There's no documentation for the new valuation module yet
  • Updated Changelog
  • If notebooks were added/changed, added boilerplate cells are tagged with "tags": ["hide"] or "tags": ["hide-input"]

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