-
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
Implement class wise shapley #338
Conversation
3fc3e5f
to
0c51d75
Compare
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.
I added a few superficial comments but didn't review in depth. Waiting until you are done. Nice progress!
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.
Added a few more comments, mostly about conventions. Please also respect the column limit in the docstrings (we use black's 88 column default)
79faa0b
to
75c4aab
Compare
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.
I left more comments. There is so much "peripheral" stuff that I find it hard to focus on the core functionality, sorry. Please review everything for spelling, correctness and consistency before requesting another review. I strongly recommend using GPT-4 for this! Still, good progress 👍🏽
5ae205a
to
497ee19
Compare
b81f85e
to
9301d4e
Compare
9862f18
to
4bd92ec
Compare
… for Data Valuation in Classification` (https://arxiv.org/abs/2211.06800)
4bd92ec
to
3e69df0
Compare
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.
Thanks for all the work. Now that you seem to have ironed out most bugs, I looked at this again. I left a few general comments, but haven't checked the algorithm itself. Let me know when these are addressed.
512a256
to
037fa66
Compare
0066343
to
cd01657
Compare
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.
I left a couple of comments but this is almost ready. I will wait until you make the changes then do a final review. Please check that my change to the ClasswiseScorer is correct (how did you test with f1 if the class didn't allow changing the metric?)
docs/value/img/classwise-shapley-discounted-utility-function.svg
Outdated
Show resolved
Hide resolved
Merging despite many issues that we must leave for a later release. See DM |
Description
This PR closes #259
Changes
Checklist
"nbsphinx":"hidden"