Class Model (2.4.2)

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

API proto representing a trained machine learning model. .. attribute:: translation_model_metadata

Metadata for translation models.

:type: google.cloud.automl_v1beta1.types.TranslationModelMetadata

Attributes

NameDescription
image_classification_model_metadata google.cloud.automl_v1beta1.types.ImageClassificationModelMetadata
Metadata for image classification models.
text_classification_model_metadata google.cloud.automl_v1beta1.types.TextClassificationModelMetadata
Metadata for text classification models.
image_object_detection_model_metadata google.cloud.automl_v1beta1.types.ImageObjectDetectionModelMetadata
Metadata for image object detection models.
video_classification_model_metadata google.cloud.automl_v1beta1.types.VideoClassificationModelMetadata
Metadata for video classification models.
video_object_tracking_model_metadata google.cloud.automl_v1beta1.types.VideoObjectTrackingModelMetadata
Metadata for video object tracking models.
text_extraction_model_metadata google.cloud.automl_v1beta1.types.TextExtractionModelMetadata
Metadata for text extraction models.
tables_model_metadata google.cloud.automl_v1beta1.types.TablesModelMetadata
Metadata for Tables models.
text_sentiment_model_metadata google.cloud.automl_v1beta1.types.TextSentimentModelMetadata
Metadata for text sentiment models.
name str
Output only. Resource name of the model. Format: projects/{project_id}/locations/{location_id}/models/{model_id}
display_name str
Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.
dataset_id str
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the model training finished and can be used for prediction.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this model was last updated.
deployment_state google.cloud.automl_v1beta1.types.Model.DeploymentState
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.

Classes

DeploymentState

DeploymentState(value)

Deployment state of the model.