I want to share and enable Vertex AI from Google Cloud with you. The goal here is to share a comprehensive set of end-to-end workflows for machine learning that each cover the range of data to model to serving and managing - even automating the flow. Regardless of your data type, skill level or framework preferences you will find something helpful here.
Click to watch on YouTube
Click here to see full playlist for this repository
- Tables: Tabular, structured data in rows and columns
- Language: Text for translation and/or understanding
- Vision: Images
- Video
- Use Pre-Trained APIs
- Automate building Custom Models
- End-to-end Custom ML with core tools in the framework of your choice
This is a series of workflow demonstrations that use the same data source to build and deploy the same machine learning model with different frameworks and automation. These are meant to help get started in understanding and learning Vertex AI and provide starting points for new projects.
The demonstrations focus on workflows and don't delve into the specifics of ML frameworks other than how to integrate and automate with Vertex AI. Let me know if you have ideas for more workflows or details to include!
To understand the contents of this repository, the following charts uncover the groupings of the content.
Direction |
---|
This work focuses on cases where you have training date:
Overview |
---|
AutoML | BigQuery ML | Vertex AI | Forecasting with AutoML, BigQuery ML, OSS Prophet |
---|---|---|---|
Vetex AI is a platform for end-to-end model development. It consist of core components that make the processes of MLOps possible for design patterns of all types.
The demonstrations are presented in a series of JupyterLab notebooks. These can be reviewed directly in this repository on GitHub or cloned to your Jupyter instance on Vertex AI Workbench.
Select the files and review them directly in the browser or IDE of your choice. This can be helpful for general understanding and selecting sections to copy/paste to your project.
- Create a Project
- Link, Alternatively, go to: Console > IAM & Admin > Manage Resources
- Click "+ Create Project"
- Provide: name, billing account, organization, location
- Click "Create"
- Enable the APIs: Vertex AI API and Notebooks API
- Link
- Alternatively, go to:
- Console > Vertex AI, then enable API
- Then Console > Vertex AI > Workbench, then enable API
- Alternatively, go to:
- Link
- Create A Notebook
- Link, Alternatively, go to: Console > Vertex AI > Workbench
- Click User-Managed Notebooks
- Click "+ Create Notebook" or "+ New Notebook"
- Selections:
- Tensorflow Enterprise > Tensorflow Enterprise 2.3 > Without GPUs
- Provide: name, region = us-central1, machine type = n1-standard-4
- some options may be under "Advanced Options"
- Click "Create"
- Open JupyterLab Notebook Instance
- Once the Notebook Instance is started click the "Open JupyterLab" link
- Clone This Repository to the Notebook Instance
- Use the Git Menu at the top or on the left navigation bar to select "Clone a Repository"
- Provide the Clone URI of this repository: https://github.com/statmike/vertex-ai-mlops.git
- In the File Browser you will now have the folder "vertex-ai-mlops" that contains the files from this repository
- Setup the Notebook Environment for these workflows
- Open the notebook vertex-ai-mlops/00 - Environment Setup
- Follow the instructions and run the cells
Resources on these items:
- Google Cloud Projects
- Vertex AI environment
- Introduction to Notebooks
- Create a Notebooks Instance
- Open Notebooks
I often get asked "How do I learn about ML?". There are lots of good answers. I do have a preferred answer that is offered here. I believe in a broad understanding of the topic, terminology, problem framing and method selection while also building up fundamental understandings of how everything actually works.
- Good overview with terminology, methods, problem framing, and tips for using APIs from TensorFlow. The Machine Learning Crash Course
- Strong Introduction to Fundamentals with Andrew Ng offered by Stanford on Coursera. Machine Learning
- Pull it all together with excellent walk-throughs of the core concepts from the Youtube channel 3Blue1Brown
- Neural Networks playlist
- Essence of linear algebra playlist
- Essence of calculus playlist
This is a good review order: 1, 3.1, 3.2, 3.3, 2, 3.1 (again!). When done with this, remember you are a beginner so begin, have fun, make mistakes and keep optimizing your cost function to boost your knowledge!
A good next step is to use the curriculums curated by the Tensorflow community. These are great at balancing coding, math & stats, theory, and project based learning.
This is my personal repository of demonstrations I use for learning and sharing Vertex AI. There are many more resources available. Within each notebook I have included a resources section and a related training section.