class Google::Apis::MlV1::GoogleCloudMlV1XraiAttribution
Attributes credit by computing the XRAI taking advantage of the model's fully differentiable structure. Refer to this paper for more details: arxiv. org/abs/1906.02825 Currently only implemented for models with natural image inputs.
Attributes
num_integral_steps[RW]
Number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. Corresponds to the JSON property `numIntegralSteps` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 3315 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 3320 def update!(**args) @num_integral_steps = args[:num_integral_steps] if args.key?(:num_integral_steps) end