Skip to content

Commit f2f9050

Browse files
jjunchofacebook-github-bot
authored andcommitted
Adding async future functionality to ShapleyValues (#1487)
Summary: This diff implements the attribute_future method for the ShapleyValueSampling class. Reviewed By: cyrjano Differential Revision: D68158802
1 parent a255953 commit f2f9050

File tree

4 files changed

+467
-17
lines changed

4 files changed

+467
-17
lines changed

captum/_utils/exceptions.py

+8
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@ class FeatureAblationFutureError(Exception):
99
FeatureAblation attribution call"""
1010

1111
pass
12+
13+
14+
class ShapleyValueFutureError(Exception):
15+
"""This custom error is raised when an error
16+
occurs within the callback chain of a
17+
ShapleyValue attribution call"""
18+
19+
pass

0 commit comments

Comments
 (0)