-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
At present, for each instance, the sum of the Shapley values will not exactly equal the model prediction. Assuming that the reference population is the right population, in the limit of Monte Carlo samples, the sum of the feature-level Shapley values will equal that instance's prediction. However, due to the stochastic nature of the sampling, this may not be the case in practice.
I'll add an optional argument to shap() that will adjust the Shapley values to support the additivity constraint at the instance level.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels