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

Add test coverage for futures in ShapleyValueSampling 2/n #1490

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jjuncho
Copy link
Contributor

@jjuncho jjuncho commented Jan 18, 2025

Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that handle shapley sampling with boolean inputs

Reviewed By: cyrjano

Differential Revision: D68230069

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68230069

Summary:

This diff implements the attribute_future method for the ShapleyValueSampling class.

Reviewed By: cyrjano

Differential Revision: D68158802
Summary:

This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that handle simple shapley sampling and multi shapley sampling using the BasicModel_MultiLayer model

note: decided to parameterize the high-level unit tests since I did not want to clutter the unit test file with tests which were doing the same calculations but with the pytorch futures api. Separated the model and shapley assert methods between non-future vs future so that the differences between the two would be clear

Reviewed By: cyrjano

Differential Revision: D68229981
Summary:

This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that handle shapley sampling with boolean inputs

Reviewed By: cyrjano

Differential Revision: D68230069
jjuncho added a commit that referenced this pull request Jan 18, 2025
Summary:

This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that handle shapley sampling with boolean inputs

Reviewed By: cyrjano

Differential Revision: D68230069
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68230069

jjuncho added a commit that referenced this pull request Jan 18, 2025
Summary:

This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that handle shapley sampling with boolean inputs

Reviewed By: cyrjano

Differential Revision: D68230069
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants