✦ Want a lab built just for you? ✦
Request a Lab ↗

Automated ML Pipelines with Vertex AI

About this lab

You are an MLOps engineer at SwiftRoute Logistics, a growing delivery company that ships thousands of packages daily across the United States. The data science team built a delivery time prediction model months ago in a Jupyter notebook, but every update requires manual steps across multiple notebooks. Each retraining cycle takes days and introduces errors because there is no standardized process, no version tracking, and no way to trace which data produced which model.

Your mission is to build an automated ML pipeline on Google Cloud's Vertex AI that handles everything from data preprocessing to model training and evaluation in a single, reproducible workflow. Using the Kubeflow Pipelines SDK, you will create modular pipeline components for data preprocessing, Random Forest model training, and evaluation with metrics logging. You will chain these components together into a complete pipeline, compile it to YAML, and submit it to Vertex AI Pipelines for execution with a single command.

Lab details

  • Level: Intermediate
  • Cloud: GCP
  • Domain: Data Science & MLOps
  • Duration: 90 minutes

What you will learn

  • Understand the concept of ML pipelines and why they matter for MLOps
  • Create modular pipeline components using the Kubeflow Pipelines SDK
  • Build a data preprocessing component with input/output artifacts
  • Build model training and evaluation components
  • Assemble and run a complete pipeline on Vertex AI
  • Inspect pipeline results, artifacts, and lineage in the Console

Concepts covered

  • ML Pipelines
  • Pipeline Components
  • Pipeline Artifacts
  • Pipeline DAG
  • Model Training Automation
  • MLOps Best Practices

Technologies used

  • Vertex AI Pipelines
  • Kubeflow Pipelines SDK
  • Vertex AI Workbench
  • Cloud Storage
  • Python
  • scikit-learn

Prerequisites

  • GCP account with billing enabled
  • Basic Python knowledge
  • Familiarity with scikit-learn basics
  • Understanding of machine learning concepts (train/test split, metrics)

Topics

  • Vertex AI
  • MLOps
  • Pipelines
  • Kubeflow
  • ML Automation
  • Model Training
  • Pipeline Orchestration
  • GCP
  • scikit-learn