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.



7367
7368
7369
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7367

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



7365
7366
7367
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7365

def explanations
  @explanations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7372
7373
7374
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7372

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