MLOps example using Vertex AI
Top 74.0% on sourcepulse
This repository provides an end-to-end MLOps example on Google Cloud, leveraging Vertex AI, TensorFlow, and TFX. It's designed for engineers and data scientists looking to implement a robust machine learning workflow, from data management and experimentation to deployment and monitoring, all within the Google Cloud ecosystem.
How It Works
The project demonstrates a comprehensive MLOps lifecycle using a Chicago Taxi Trips dataset for tip prediction. It utilizes Keras for model development, TFX for building and orchestrating training pipelines, and Vertex AI for managed training, hyperparameter tuning, model registry, endpoint deployment, and monitoring. Data processing is handled by Dataflow, and CI/CD for pipeline and model deployment is managed by Cloud Build, with Cloud Functions and Pub/Sub enabling continuous training triggers.
Quick Start & Requirements
pip install tfx==1.2.0 --user
and pip install -r requirements.txt
.google-cloud-sdk
(updated).Highlighted Details
Maintenance & Community
This is sample code provided for educational purposes and is not an official Google product. It is licensed under the Apache License, Version 2.0.
Licensing & Compatibility
Licensed under the Apache License, Version 2.0. This license permits commercial use and linking with closed-source projects.
Limitations & Caveats
The README notes that pip dependencies issues
can be ignored, implying potential version conflicts or outdated dependencies that may be resolved in later TFX versions. The project is explicitly stated as sample code for educational purposes.
1 year ago
Inactive