Four ways to build. π€οΈ
Back to predictive AI. Four ways to build any ML model β from no-code to do-it-yourself β and how to pick the right one.
Module 3 β 5 Chapters πΊοΈ
The official AI Development Options course. Compare the four ways to build, then go deep on each.
1 Β· The 4 Options
Compare & choose
2 Β· Vertex AI
The unified platform
3 Β· AutoML
No-code ML
4 Β· Pre-trained APIs
Borrow Google's models
5 Β· Custom Training
Full control Β· TensorFlow
Four Ways to Build an ML Model π§
Module 2 was generative AI. Now back to predictive AI β forecasting & classification. Four paths, easiest to hardest:
Pre-trained APIs
Call Google's ready models. No training data. Lowest effort.
BigQuery ML
Build models with SQL, where your data lives.
AutoML
Bring your data, point & click. No model code.
Custom Training
Write the code. Full control. Highest effort.
Compare Them Side by Side π
The exam loves this comparison. Five things that separate the four options.
| Option | Data types | Training data | Expertise | Tune knobs? | Train time |
|---|---|---|---|---|---|
| π Pre-trained API | All + audio | None | Lowest | No | None |
| π BigQuery ML | Tabular + JSON | Large | SQL | Yes | Varies |
| π€ AutoML | Tabular + image | Your own | Low | No | Varies |
| π§ͺ Custom Training | Tabular/img/text/video | Large | Highest | Yes | Longest |
Which Option Should You Use? π³
One Unified Platform π
Building ML is hard β per Gartner, only half of enterprise ML projects ever get past the pilot. Vertex AI fixes that.
AutoML
No-code path inside Vertex AI
Custom Training
Code-based path inside Vertex AI
Workbench
Even write SQL to connect BigQuery + Vertex AI
The End-to-End ML Pipeline π
Vertex AI walks you from raw data to a monitored model in production:
1
Data Readiness
Upload from Cloud Storage, BigQuery, or local
2
Feature Readiness
Create features Β· share via Feature Store
3
Train & Tune
Experiment with models & hyperparameters
4
Deploy & Monitor
Into production Β· auto-monitor & improve (MLOps)
Why Vertex AI? The 4 S's β¨
Seamless
Smooth from uploading data to model in production.
Scalable
MLOps auto-scales storage & compute.
Sustainable
Artifacts & features can be reused & shared.
Speedy
~80% fewer lines of code than competitors.
AutoML β No-Code ML π€
AutoML = Automated Machine Learning. It does the time-consuming parts for you.
How AutoML Works β 4 Phases βοΈ
1
Data Processing
Auto-converts numbers, dates, text, categories
2
Search & Tune
Finds best models, tunes parameters
3
Ensemble
Assembles the top ~10 models (not just one)
4
Prediction
Serves the combined result
The Two Engines Behind It β Tap π
ποΈ Neural Architecture Search
β»οΈ Transfer Learning
Borrow Google's Models π
Good models need lots of data β hundreds of thousands of records. No data? Pre-trained APIs are the place to start.
Call the Gemini API β Tap Each Step π§ͺ
The API Menu π
Gen AI APIs
Foundation models β the multimodal Gemini APIs to create content.
ML APIs
e.g. the Vertex AI API β train, monitor & tune with minimal effort.
Perception APIs
Speech, image, document & conversation APIs.
Custom Training β Full Control π§ͺ
When your needs go beyond AutoML's automation, you do it yourself β full control of architecture, frameworks & training logic.
Pre-built vs Custom Container π³
π³ Pre-built Container
- Cabinets, appliances, cookware ready
- Python, TensorFlow, PyTorch already set up
- Best when you're not fussy about the infra
ποΈ Custom Container
- You define every appliance & tool
- Set the environment, machine type, disks
- Best when you need exact control
Libraries & TensorFlow π§°
You don't code from scratch β you use ML libraries. Popular, open-source ones:
TensorFlow
Google's end-to-end platform
scikit-learn
Classic ML
PyTorch
Popular for research
JAX
High-performance, flexible
TensorFlow's layers (low β high)
tf.keras in 3 Steps πͺ
Building a model with the high-level Keras API always follows the same three beats:
1
Create
Piece together the neural-net layers Β· tf.keras.Sequential
2
Compile
Set hyperparameters β loss function, optimizer
3
Fit (Train)
Train over epochs to find the best fit
Lock It In π§ͺ
Q1Which option needs NO training data?
Q2Want a custom model but minimal coding. Pick:
Q3The first stage of the Vertex AI pipeline is:
Q4AutoML's standout feature is:
Q5Since 2021, AutoML lives:
Q6The first step when calling the Gemini API is to:
Q7The most-used, high-level TensorFlow API is:
Q8Choose custom training when you need:
Module 3 β You Can Now Explainβ¦ β
π§ͺ Step 1 Β· Lab β Entity & Sentiment Analysis with the Natural Language API
Call a pre-trained API to pull entities & sentiment from real text. Open the lab β
π Step 2 Β· Official Module 3 Quiz β
After the lab, take the graded quiz on Skills Boost. skills.google βΊ course 593 βΊ quiz 617905
Next: AI Development Workflow. π
You know the four ways to build. Last module β the end-to-end workflow: data prep, how a model learns, training, evaluation, deployment, and MLOps.