-
Notifications
You must be signed in to change notification settings - Fork 8
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
Batch (parallelized) calculations of beta Shapley #428
Batch (parallelized) calculations of beta Shapley #428
Conversation
121ff42
to
0cdbc3e
Compare
…e_beta_shapley_semivalues`, `compute_shapley_semivalues` and `compute_generic_semivalues`.
0cdbc3e
to
0914b66
Compare
…ovement compared to a singular batch size.
This might not be the right direction in which to go, even if it indeed helps in some situations. See my comments in the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. @mdbenito do you still want to put comments saying that this is not final yet and it may be remove? If yes, where would you put them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kosmitive After resolving conflicts, all that would be left to do is to very clearly document that batch size will be deprecated in the future. Note that adding the deprecation decorator generates a runtime warning but is not seen in the documentation, so please add it to the docstring as well.
…parallelized-calculations-of-beta-shapley # Conflicts: # tests/value/test_semivalues.py
5e56dd5
to
9083bc2
Compare
…ns-of-beta-shapley
Description
This PR closes #427
Changes
batch_size
parameter tocompute_banzhaf_semivalues
,compute_beta_shapley_semivalues
,compute_shapley_semivalues
andcompute_generic_semivalues
.Checklist