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

Allow „Subsetting“ of InteractionValues #276

Closed
mmschlk opened this issue Nov 14, 2024 · 2 comments · Fixed by #293
Closed

Allow „Subsetting“ of InteractionValues #276

mmschlk opened this issue Nov 14, 2024 · 2 comments · Fixed by #293
Labels
enhancement New feature or request game theory Game theory related issues

Comments

@mmschlk
Copy link
Owner

mmschlk commented Nov 14, 2024

Allow to turn an InteractionValues object into another InteractionValues with only a subset of players part of the new one. This is helpful for plotting only a selection of interesting players and potentially other cool things down the line.

@mmschlk mmschlk added enhancement New feature or request game theory Game theory related issues labels Nov 14, 2024
@mmschlk mmschlk moved this to 💡Idea in shapiq development Nov 14, 2024
@r-visser
Copy link
Collaborator

Would the objective be to create something similar to get_top_k_interactions, but instead supplying a subset of players and only retaining those values which belong to (at least) one of the players?

@mmschlk
Copy link
Owner Author

mmschlk commented Dec 17, 2024

Yes, what I meant: So basically $C = A \setminus B$ where $A$ and $B$ are both sets of players, and $C$ is just the set-difference of both. Then all interactions with $B$ are removed and $C$ contains only interactions that can be made up of players in $A$.

@mmschlk mmschlk moved this from 💡Idea to 📋 Backlog in shapiq development Dec 17, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in shapiq development Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request game theory Game theory related issues
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants