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.