Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

This message is a wrapper grouping Concurrent Explanations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation

Returns a new instance of GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation.



6881
6882
6883
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6881

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#explanationsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation>

The explanations of the Model's PredictResponse.predictions. It has the same number of elements as instances to be explained. Corresponds to the JSON property explanations



6879
6880
6881
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6879

def explanations
  @explanations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6886
6887
6888
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6886

def update!(**args)
  @explanations = args[:explanations] if args.key?(:explanations)
end