Class PredictSchemata (0.7.1)

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

Contains the schemata used in Model's predictions and explanations via PredictionService.Predict, [PredictionService.Explain][] and BatchPredictionJob.

Attributes

NameDescription
instance_schema_uri str
Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single instance, which are used in ``PredictRequest.instances``, [ExplainRequest.instances][] and ``BatchPredictionJob.input_config``. The schema is defined as an OpenAPI 3.0.2 `Schema Object
parameters_schema_uri str
Immutable. Points to a YAML file stored on Google Cloud Storage describing the parameters of prediction and explanation via ``PredictRequest.parameters``, [ExplainRequest.parameters][] and ``BatchPredictionJob.model_parameters``. The schema is defined as an OpenAPI 3.0.2 `Schema Object
prediction_schema_uri str
Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single prediction produced by this Model, which are returned via ``PredictResponse.predictions``, [ExplainResponse.explanations][], and ``BatchPredictionJob.output_config``. The schema is defined as an OpenAPI 3.0.2 `Schema Object

Inheritance

builtins.object > proto.message.Message > PredictSchemata