Class ExplainResponse (1.48.0)

ExplainResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response message for PredictionService.Explain.

Attributes

NameDescription
explanations MutableSequence[google.cloud.aiplatform_v1beta1.types.Explanation]
The explanations of the Model's PredictResponse.predictions. It has the same number of elements as instances to be explained.
concurrent_explanations MutableMapping[str, google.cloud.aiplatform_v1beta1.types.ExplainResponse.ConcurrentExplanation]
This field stores the results of the explanations run in parallel with The default explanation strategy/method.
deployed_model_id str
ID of the Endpoint's DeployedModel that served this explanation.
predictions MutableSequence[google.protobuf.struct_pb2.Value]
The predictions that are the output of the predictions call. Same as PredictResponse.predictions.

Classes

ConcurrentExplanation

ConcurrentExplanation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

This message is a wrapper grouping Concurrent Explanations.

ConcurrentExplanationsEntry

ConcurrentExplanationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Methods

ExplainResponse

ExplainResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response message for PredictionService.Explain.