Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ExplainResponse.
Response message for PredictionService.Explain.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deployed_model_id
def deployed_model_id() -> ::String
Returns
- (::String) — ID of the Endpoint's DeployedModel that served this explanation.
#deployed_model_id=
def deployed_model_id=(value) -> ::String
Parameter
- value (::String) — ID of the Endpoint's DeployedModel that served this explanation.
Returns
- (::String) — ID of the Endpoint's DeployedModel that served this explanation.
#explanations
def explanations() -> ::Array<::Google::Cloud::AIPlatform::V1::Explanation>
Returns
-
(::Array<::Google::Cloud::AIPlatform::V1::Explanation>) — The explanations of the Model's
PredictResponse.predictions.
It has the same number of elements as instances to be explained.
#explanations=
def explanations=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Explanation>
Parameter
-
value (::Array<::Google::Cloud::AIPlatform::V1::Explanation>) — The explanations of the Model's
PredictResponse.predictions.
It has the same number of elements as instances to be explained.
Returns
-
(::Array<::Google::Cloud::AIPlatform::V1::Explanation>) — The explanations of the Model's
PredictResponse.predictions.
It has the same number of elements as instances to be explained.
#predictions
def predictions() -> ::Array<::Google::Protobuf::Value>
Returns
- (::Array<::Google::Protobuf::Value>) — The predictions that are the output of the predictions call. Same as PredictResponse.predictions.
#predictions=
def predictions=(value) -> ::Array<::Google::Protobuf::Value>
Parameter
- value (::Array<::Google::Protobuf::Value>) — The predictions that are the output of the predictions call. Same as PredictResponse.predictions.
Returns
- (::Array<::Google::Protobuf::Value>) — The predictions that are the output of the predictions call. Same as PredictResponse.predictions.