Class SampledShapleyAttribution (0.6.0)

  SampledShapleyAttribution 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features.

Attribute

Name Description
path_count int
Required. The number of feature permutations to consider when approximating the Shapley values. Valid range of its value is [1, 50], inclusively.

Inheritance

builtins.object > proto.message.Message > SampledShapleyAttribution