class Google::Apis::MlV1::GoogleCloudMlV1SampledShapleyAttribution
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.
Attributes
num_paths[RW]
The number of feature permutations to consider when approximating the Shapley values. Corresponds to the JSON property `numPaths` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 2328 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ml_v1/classes.rb, line 2333 def update!(**args) @num_paths = args[:num_paths] if args.key?(:num_paths) end