ExplainRequest class final
Request message for
PredictionService.Explain.
- Inheritance
-
- Object
- ProtoMessage
- ExplainRequest
Constructors
-
ExplainRequest({required String endpoint, required List<
Value> instances, Value? parameters, ExplanationSpecOverride? explanationSpecOverride, Map<String, ExplanationSpecOverride> concurrentExplanationSpecOverride = const {}, String deployedModelId = ''}) -
ExplainRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
concurrentExplanationSpecOverride
→ Map<
String, ExplanationSpecOverride> -
Optional. This field is the same as the one above, but supports multiple
explanations to occur in parallel. The key can be any string. Each override
will be run against the model, then its explanations will be grouped
together.
final
- deployedModelId → String
-
If specified, this ExplainRequest will be served by the chosen
DeployedModel, overriding
Endpoint.traffic_split.final - endpoint → String
-
Required. The name of the Endpoint requested to serve the explanation.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}final - explanationSpecOverride → ExplanationSpecOverride?
-
If specified, overrides the
explanation_specof the DeployedModel. Can be used for explaining prediction results with different configurations, such as:final - hashCode → int
-
The hash code for this object.
no setterinherited
-
instances
→ List<
Value> -
Required. The instances that are the input to the explanation call.
A DeployedModel may have an upper limit on the number of instances it
supports per request, and when it is exceeded the explanation call errors
in case of AutoML Models, or, in case of customer created Models, the
behaviour is as documented by that Model.
The schema of any single instance may be specified via Endpoint's
DeployedModels'
google.cloud.aiplatform.v1beta1.DeployedModel.modelgoogle.cloud.aiplatform.v1beta1.Model.predict_schematainstance_schema_uri.final - parameters → Value?
-
The parameters that govern the prediction. The schema of the parameters may
be specified via Endpoint's DeployedModels'
google.cloud.aiplatform.v1beta1.DeployedModel.modelgoogle.cloud.aiplatform.v1beta1.Model.predict_schemataparameters_schema_uri.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String