Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponse
- 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
Response message for PredictionService.Explain.
Instance Attribute Summary collapse
-
#concurrent_explanations ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation>
This field stores the results of the explanations run in parallel with The default explanation strategy/method.
-
#deployed_model_id ⇒ String
ID of the Endpoint's DeployedModel that served this explanation.
-
#explanations ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation>
The explanations of the Model's PredictResponse.predictions.
-
#predictions ⇒ Array<Object>
The predictions that are the output of the predictions call.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExplainResponse
constructor
A new instance of GoogleCloudAiplatformV1beta1ExplainResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExplainResponse
Returns a new instance of GoogleCloudAiplatformV1beta1ExplainResponse.
8621 8622 8623 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#concurrent_explanations ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation>
This field stores the results of the explanations run in parallel with The
default explanation strategy/method.
Corresponds to the JSON property concurrentExplanations
8602 8603 8604 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8602 def concurrent_explanations @concurrent_explanations end |
#deployed_model_id ⇒ String
ID of the Endpoint's DeployedModel that served this explanation.
Corresponds to the JSON property deployedModelId
8607 8608 8609 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8607 def deployed_model_id @deployed_model_id end |
#explanations ⇒ Array<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
8613 8614 8615 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8613 def explanations @explanations end |
#predictions ⇒ Array<Object>
The predictions that are the output of the predictions call. Same as
PredictResponse.predictions.
Corresponds to the JSON property predictions
8619 8620 8621 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8619 def predictions @predictions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8626 8627 8628 8629 8630 8631 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8626 def update!(**args) @concurrent_explanations = args[:concurrent_explanations] if args.key?(:concurrent_explanations) @deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id) @explanations = args[:explanations] if args.key?(:explanations) @predictions = args[:predictions] if args.key?(:predictions) end |