From "what is AI" to building one. ๐ ๏ธ
Today we lay the foundation: the difference between AI types, how Google Cloud is built for AI, how models learn โ and you finish by training your first ML model in SQL.
Today โ We Start With Module 1 ๐บ๏ธ
Module 1 is the whole AI Foundations course, distilled. It maps 1-to-1 to the official Google Skills Boost chapters.
1 ยท Use Case
AI solving real business problems
2 ยท AI on GCP
Predictive vs Generative + the architecture
3 ยท Infrastructure
Compute, storage, TPUs
4 ยท AI Models
Supervised vs unsupervised
5 ยท BigQuery ML
Train a model with SQL
Modules 2โ4
Generative AI ยท added next
โ โ to move. Aim for 100+ โญ.Meet "Coffee on Wheels" โ๐
An international company selling coffee from trucks in London, New York, San Francisco & Tokyo. They hired a data company (Data Beans) to fix three problems with AI:
Location & Routes
Where to park trucks; best routes given weather & traffic
Sales Forecasting
Predict sales & monitor performance in real time
Marketing
Auto-generate campaigns โ text & images
What the App Actually Does ๐ฅ๏ธ
Data Beans built a single dashboard. Pick a city โ say London โ and it shows revenue, operating margin and the number of trucks. From there, AI is doing five jobs at once:
Smart routing
Cold day forecast? It reroutes trucks to covered areas. Football match nearby? It avoids the congestion.
Per-truck insight
Click a truck for its street view and a revenue forecast for that spot.
Live menu watch
An item underperforming? Hit Generate and AI suggests a replacement.
One-click marketing
Auto-creates a campaign โ text + images โ and emails it to the right customers.
Instant reports
Generates an operational report and exports it straight to Google Slides.
Key Findings From the Use Case ๐
Strip away the coffee and three lessons remain โ they hold for almost any AI project:
Predictive + Generative together
The best apps combine both โ forecast and create. Rarely just one.
Products collaborate
Gemini acquires & generates ยท BigQuery analyses ยท Vertex AI models ยท agents act (e.g. push to Looker).
Outcome: efficiency
Manual decisions became automated โ freeing the team to innovate on the customer experience.
How One App Pulls It Off ๐ง
The pattern behind the whole demo โ and behind most real AI apps:
IN
Multimodal Input
Text, reviews, images, live street view
BRAIN
Predict & Generate
Forecast sales ยท write campaigns
OUT
Visual Output
Dashboards & reports to act on
The Google products doing the work
Gemini
Multimodal input & generation
BigQuery
Data analytics
Vertex AI
ML development
Looker
Visualise insights
Match Each Google Product to Its Job ๐งฉ
Why Google for AI? ๐ฆ๐ฅ๐จ๐ฉ
Heritage
AI has powered Search, Maps & Workspace for years
Innovation
Gemini, Vertex AI, NotebookLM โ frontier tools
Responsible AI
Bold but safe: fair, accountable, transparent
The Big One: Predictive vs Generative AI โญ
Almost every AI problem is one of these two. Knowing which is which is half of today.
๐ฎ Predictive AI
- Also called traditional or discriminative AI
- Learns from existing data to classify or forecast
- "What will happen?" / "Which group is this?"
- e.g. sales forecasting, churn prediction, route/traffic prediction
โจ Generative AI
- Creates new content: text, images, video, summaries
- Built on foundation models (e.g. Gemini)
- "Make meโฆ" / "Writeโฆ" / "Summariseโฆ"
- e.g. marketing copy, chatbots, campaign images
You Often Use Both Together ๐ค
There's no hard line. The strongest apps chain them โ predictive output becomes part of the generative prompt.
STEP 1
Predictive
Forecast which customers will churn
STEP 2
Generative
Chatbot helps sales explore those predictions
STEP 1
Predictive
Identify customer segments
STEP 2
Generative
Write personalised marketing per segment
Predictive or Generative? ๐ฎโจ
The Google Cloud AI Architecture ๐๏ธ
Three layers, bottom to top. Each layer serves a different kind of user.
Inside the Foundation Layer ๐๏ธ
Infrastructure itself has three sub-layers:
Compute: Control โ Convenience โ๏ธ
Pick how much you manage vs how much Google manages.
MOST CONTROL
Compute Engine
Like running your own server (VMs)
BALANCE
GKE
Managed containers + orchestration
MOST CONVENIENCE
Cloud Run
Serverless โ Google runs it all
The chips that power it
CPU
General-purpose, everyday computing
GPU
Parallel work โ graphics & some ML
TPU
Google's custom AI chip (2016). Built for the matrix math in ML โ faster & more energy-efficient
Storage & the Data-to-AI Workflow ๐๏ธ
๐ฆ Unstructured data
- Documents, images, audio, video
- โ store in Cloud Storage
๐งฎ Structured data
- Transactions, records, metrics
- โ BigQuery, AlloyDB, Cloud SQL
The data-to-AI workflow
1
Ingest & Process
Pub/Sub ยท Dataflow
2
Store & Analyse
BigQuery ยท Looker
3
Activate with AI
Predict ยท Generate
AI vs ML vs Deep Learning vs GenAI ๐ง
People mix these up. They're actually nested โ each sits inside the one above. Tap any layer to expand.
Supervised vs Unsupervised Learning ๐ท๏ธ
The whole difference: do your training examples come with answers (labels) or not?
| ๐ท๏ธ Supervised | ๐ Unsupervised | |
|---|---|---|
| Data | Labelled (has answers) | Unlabelled (no answers) |
| Driven by | A task / goal | The data itself |
| Finds | A known target | Hidden patterns |
| Example | "Is this a cat or dog?" (you labelled the photos) | "Group these dog breeds" (you don't know them) |
The 5 Model Types You Must Know ๐ฏ
๐ท๏ธ Classification
๐ Regression
๐งฉ Clustering
๐ Association
๐ Dimensionality Reduction
๐ก Quick recall
Pick the Right Model ๐ฏ
logistic
linear
k-means
Train a Modelโฆ in SQL ๐ช
BigQuery is two things in one: a storage warehouse and a fast SQL engine. BigQuery ML lets you build models where the data already lives โ no Python, no data movement.
The 5 phases of an ML project
1
ETL
Get data into BigQuery
2
Features
Preprocess ยท one-hot encoding
3
Create
CREATE MODEL
4
Evaluate
ML.EVALUATE โ accuracy, precision, recall
5
Predict
ML.PREDICT โ adds predicted_
Tap Each Keyword to Learn It ๐งช
Lock It In ๐งช
Q1"Forecast next month's sales" is which kind of AI?
Q2What is a TPU built for?
Q3"Compute & storage scale separately" describes:
Q4Predicting a continuous number (future spending) uses which model?
Q5Deep learning is best described as:
Q6Which command trains the model?
Q7ML.EVALUATE reports which metrics?
Q8After ML.PREDICT, your label column comes back as:
Module 1 โ You Can Now Explainโฆ โ
๐งช Step 1 ยท Lab โ Predict Visitor Purchases with BigQuery ML (~60 min)
Hands-on the exact CREATE โ EVALUATE โ PREDICT flow we just covered, on the Google Merchandise Store data. Open the lab โ
๐ Step 2 ยท Official Module 1 Quiz โ
After the lab, take the graded quiz on Skills Boost to confirm you're exam-ready. skills.google โบ course 593 โบ quiz 617884
Next: Generative AI. โจ
You've got the foundation. Module 2 is ready now โ generative AI, prompts, tuning, and agents. Modules 3 & 4 drop in next.
M2 ยท Generative AI
Start now โ
M3 ยท AI Dev Options
Coming soon
M4 ยท AI Dev Workflow
Coming soon