Google Cloud AI Platform Operators¶
Google Cloud AI Platform (formerly known as ML Engine) can be used to train machine learning models at scale, host trained models in the cloud, and use models to make predictions for new data. AI Platform is a collection of tools for training, evaluating, and tuning machine learning models. AI Platform can also be used to deploy a trained model, make predictions, and manage various model versions.
The legacy versions of AI Platform Training, AI Platform Prediction, AI Platform Pipelines, and AI Platform Data Labeling Service are deprecated and will no longer be available on Google Cloud after their shutdown date. All the functionality of legacy AI Platform and new features are available on the Vertex AI platform.
Prerequisite tasks¶
To use these operators, you must do a few things:
Select or create a Cloud Platform project using the Cloud Console.
Enable billing for your project, as described in the Google Cloud documentation.
Enable the API, as described in the Cloud Console documentation.
Install API libraries via pip.
pip install 'apache-airflow[google]'Detailed information is available for Installation.
Launching a Job¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.
Creating a model¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.
Getting a model¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.
Creating model versions¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.
Managing model versions¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.
Making predictions¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.
Cleaning up¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.
Evaluating a model¶
This function is deprecated. All the functionality of legacy MLEngine and new features are available on the Vertex AI platform.