Classification Model
Regression Model
No pre-assigned segments
No pre-marked fraud
No pre-identified risk
Finds patterns automatically
Feed the machine 2,000 customer records (age, income, purchase frequency, order value).
Machine discovers 4 natural customer groups.
You name them and create targeted marketing for each.
Result: Generic campaigns (2% conversion) → Targeted campaigns (6-8% conversion)
Young (22), $35K income, 1-2 purchases/month, $25/order
Age 42, $150K income, 1-2 weekly, $200/order
Age 28, $55K income, 2-3/year, $50/order
Age 45, $80K income, quarterly, $400/order
"Frequently bought together"
"Discover Weekly"
"Because you watched X"
Fraud detection systems
• $5 coffee at 8am
• $50 gas at 6pm
• $30 groceries at 7pm
Then: $500 jewelry purchase at 3am in another country
🚩 ANOMALY - Your bank freezes the card
Unusual spending patterns
Weird login patterns = breach alert
Defective products (weight, temp)
Unusual patient symptoms
Customer Segmentation (50 min)
Anomaly Detection (40 min)
Online retailer with 2,000 customers. Marketing needs targeted campaigns.
Question: What types of customers do we have?
Your Job: Use K-Means clustering to discover 4 customer groups
Deliverable: Name each cluster and create marketing strategy for each
Time: 50 minutes
Bank processes 5,000 transactions daily. Need to find fraudulent ones.
Question: Which transactions are suspicious?
Your Job: Build anomaly detection model to flag suspicious transactions
Deliverable: List top 10 anomalies and explain why they're suspicious
Time: 40 minutes
Too broad - no useful segments
Sweet spot - practical and useful
Too specific - hard to manage
Platform shows you a graph to help decide
Discovered 4 customer segments
Identified suspicious transactions
Churn Prediction | Price Prediction
Customer Segmentation | Fraud Detection
Predict known outcomes (with labels)
Discover hidden patterns (no labels)
Is unlabeled - unsupervised is MORE valuable
$100K-$200K starting salary skill
You have historical outcomes and want to predict future ones
You want to discover hidden patterns or group similar items