Google Cloud Intensive
DAY 04 Β· M3 Β· AI DEVELOPMENT OPTIONS
M3Welcome
⭐ 0 pts
DAY 04 Β· MODULE 3

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

One big idea runs through it β€” match the tool to your skills, your data, and your budget. Jom.
Chapter 1 Β· The 4 Options

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.

The golden rule (again)Meet yourself where you are. Climb only as high as your skills & needs require β€” no higher.

Compare Them Side by Side πŸ“Š

The exam loves this comparison. Five things that separate the four options.

OptionData typesTraining dataExpertiseTune knobs?Train time
πŸ”Œ Pre-trained APIAll + audioNoneLowestNoNone
πŸ“Š BigQuery MLTabular + JSONLargeSQLYesVaries
πŸ€– AutoMLTabular + imageYour ownLowNoVaries
πŸ§ͺ Custom TrainingTabular/img/text/videoLargeHighestYesLongest
Quick decision guide: no data / little ML β†’ Pre-trained API Β· SQL & data in BigQuery β†’ BigQuery ML Β· custom model, minimal code β†’ AutoML Β· full control β†’ Custom training.
Try It Β· Chapter 1

Which Option Should You Use? 🌳

πŸ•ΉοΈTap an answer to each question β€” the tree branches to a recommendation. Goal: see how data, skills & control decide your tool. Reach an answer β†’ +5⭐ (try other paths too).
No single "best" β€” it depends on your data, your skills, and your budget.
Chapter 2 Β· Vertex AI

One Unified Platform 🏭

Building ML is hard β€” per Gartner, only half of enterprise ML projects ever get past the pilot. Vertex AI fixes that.

What "unified" meansOne platform for the whole ML workflow β€” and it covers both generative AI and predictive AI.
πŸ€–

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)

Same four beats you'll see again in Module 4's workflow. Data β†’ features β†’ train β†’ deploy.

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.

RememberSeamless Β· Scalable Β· Sustainable Β· Speedy. Four S's.
Chapter 3 Β· AutoML

AutoML β€” No-Code ML πŸ€–

AutoML = Automated Machine Learning. It does the time-consuming parts for you.

The promiseBring your data, point & click. AutoML handles feature engineering, model search, tuning & ensembling β€” so you focus on the business problem, not the model architecture.
Born in 2018 to save data scientists' manual work; since 2021 it's built into Vertex AI.

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

Why ensemble? Averaging the top ~10 models beats relying on a single one β€” better accuracy.

The Two Engines Behind It β€” Tap πŸ”

πŸ•ΉοΈTap each card to open it. Goal: see the two techniques that power AutoML β€” Neural Architecture Search & Transfer Learning. (Explore β€” no points.)

πŸ—οΈ Neural Architecture Search

tap to expand
Tries many different model architectures, compares their performance, and automatically picks the best for your data β€” tuning parameters as it goes.

♻️ Transfer Learning

tap to expand
Reuses pre-trained models as a starting point β€” like learning new things from existing knowledge. Reaches higher accuracy with less data & compute. (Same idea as LLMs: pre-train, then fine-tune.)
Together they let AutoML find strong models fast β€” even with smaller datasets.
Chapter 4 Β· Pre-trained APIs

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.

API = a power outlet πŸ”ŒYou just need the right adapter β€” which API to call and what to pass. You don't worry about the wiring behind the wall (the model training & deployment).
API = Application Programming Interface β€” how software talks to software. Call a pre-trained model like calling a function. No training data, no ML expertise needed.
Try It Β· Chapter 4

Call the Gemini API β€” Tap Each Step πŸ§ͺ

πŸ•ΉοΈTap each highlighted line of Python β†’ what that step does. Goal: see that calling a model is just 4 steps β€” authenticate, pick, send, read. Each step β†’ +2⭐.
genai.configure(api_key="YOUR_API_KEY") model = genai.GenerativeModel("gemini-2.5-flash") response = model.generate_content("Top 3 largest countries by area?") print(response.text)
Tap a highlighted line to see what that step does.
No model training. You call a ready model like a function. Four steps β€” authenticate, pick model, send prompt, read reply.

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.

The Natural Language API analyses text right in your browser β€” identify entities, sentiment, syntax & categories. That's today's hands-on lab. Many of these are increasingly replaced by the multimodal, multi-task Gemini APIs.
Chapter 5 Β· Custom Training

Custom Training β€” Full Control πŸ§ͺ

When your needs go beyond AutoML's automation, you do it yourself β€” full control of architecture, frameworks & training logic.

First decision: your containerBefore any code, choose the environment your training runs in β€” a pre-built container, or a custom one.

Pre-built vs Custom Container 🍳

🍳 Pre-built Container

a furnished kitchen
  • Cabinets, appliances, cookware ready
  • Python, TensorFlow, PyTorch already set up
  • Best when you're not fussy about the infra

🏚️ Custom Container

an empty room
  • You define every appliance & tool
  • Set the environment, machine type, disks
  • Best when you need exact control
Where you code: Vertex AI Workbench (managed Jupyter for the whole workflow) or Colab Enterprise (integrated into Vertex AI in 2023).

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)

Keras β€” high-level API hides the details Β· most-used
Model libraries neural-net layers, metrics
Low-level APIs + Hardware C++/Python Β· CPU Β· GPU Β· TPU

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

Create, compile, fit. Then deploy & predict. Vertex AI fully hosts TensorFlow, so it's a managed service whichever layer you code at.
Knowledge Check Β· Module 3

Lock It In πŸ§ͺ

Q1Which option needs NO training data?

Pre-trained APIs
BigQuery ML
AutoML
Custom training

Q2Want a custom model but minimal coding. Pick:

Pre-trained APIs
Custom training
AutoML
BigQuery ML

Q3The first stage of the Vertex AI pipeline is:

Data readiness
Deployment
Monitoring
Prediction

Q4AutoML's standout feature is:

It needs no data
A no-code, point-and-click UI
It's a chip
It only writes SQL

Q5Since 2021, AutoML lives:

Inside Vertex AI
Inside BigQuery only
On your laptop only
In Google Sheets

Q6The first step when calling the Gemini API is to:

Train a model
Print the response
Authenticate with your API key
Upload a dataset

Q7The most-used, high-level TensorFlow API is:

C++
SQL
Keras
JAX

Q8Choose custom training when you need:

Full control of architecture & training logic
No code at all
No data at all
Only a SQL query

Module 3 β€” You Can Now Explain… βœ…

Pre-trained API BigQuery ML AutoML Custom Training
Vertex AI (unified) Data→Feature→Train→Deploy 4 S's
Neural Architecture Search Transfer Learning Ensemble
API = adapter Pre-built vs Custom Container TensorFlow Β· Keras CreateΒ·CompileΒ·Fit
Finish Module 3 in 2 stepsDo the hands-on lab first β€” then take the graded quiz.

πŸ§ͺ 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

Four ways to build β€” and you can pick. πŸ›€οΈ
MODULE 3 COMPLETE

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.

πŸ”„

M4 Β· AI Dev Workflow

Start now β†’

πŸ…

Then: the exam

Almost there

πŸŽ‰

Day 4 done

So close