This guide will help you initialize and run the AutoML training pipeline for Demo3. Please ensure you have set up your GCP account with the necessary permissions before proceeding.
-
Install Git
Install Git if it's not already available on your system:sudo apt install -y git
-
Clone the Repository
Clone thegcp-mlspecialization-demo3
repository:git clone https://github.com/data-max-hq/gcp-mlspecialization-demo3 cd gcp-mlspecialization-demo3
-
Install Requirements
Navigate into the cloned repository and install the required packages:pip install -r requirements.txt
-
Create BigQuery Dataset
Run thebq_dataset_preprocess.py
script to create the preprocessed BigQuery dataset:python gcp-mlspecialization-demo3/bq_dataset_preprocess.py
-
Initialize and Run the Pipeline
Run theautoml_training.py
script to initialize and run the AutoML pipeline with the necessary configurations:python gcp-mlspecialization-demo3/automl_training.py
-
Deploy the Model
Use themodel_deployment.py
script to deploy the registered model in a Vertex AI endpoint:python gcp-mlspecialization-demo3/model_deployment.py
You can monitor the progress and logs of your pipeline run through the Vertex AI console on GCP. Navigate to the Vertex AI section and select Pipelines to see the status and details of your pipeline runs.