Pattern Hunter
Spot number sequences, catch data anomalies, and explore correlations — learning how AI detects patterns in data, just like fraud detectors and stock market AIs!
How AI Detects Patterns
Sequences
AI finds rules in ordered data. Arithmetic, geometric, Fibonacci — recognising rules is the first step in prediction.
Anomaly Detection
Find the odd one out! AI learns what "normal" looks like, then flags anything that deviates significantly.
Correlation
When two things move together, they're correlated. AI uses correlation to discover hidden relationships in data.
Prediction
Once the pattern is found, AI can predict what comes next — the basis of weather forecasting, stock prediction, and more!
Step 1 — Spot the Sequence Pattern
🏆 Sequence Score
• Try subtracting consecutive terms
• Try dividing consecutive terms
• Look for squares, cubes
• Add previous two terms
Step 2 — Anomaly Detection
🚨 Anomaly Score
This is exactly how AI detects:
• 💳 Credit card fraud
• 🌡️ Equipment failures
• 🛡️ Cyber attacks
• 📉 Market crashes
Step 3 — Correlation Explorer
📊 Correlation Stats
r = 1.0: Perfect positive
r = 0.8: Strong positive
r = 0.3: Weak positive
r = 0.0: No correlation
r = -0.8: Strong negative
Step 4 — Pattern Master Challenge
Pattern Hunter Badge!
You mastered sequences, anomaly detection, and correlation analysis!
Optional. Stays on this device only — not sent to WhizzStep.
Key Concepts Mastered
🔢 Ordered Patterns
A series with a mathematical rule. Arithmetic (add), Geometric (multiply), Fibonacci (sum previous two).
🚨 The Odd One Out
A data point that deviates significantly from the pattern. Used in fraud detection, quality control, and medical diagnosis.
📈 Moving Together
When two variables change together. Pearson r measures this — from -1 (perfect negative) to +1 (perfect positive).
⚠️ Big Mistake
Ice cream sales and drowning both rise in summer — correlated, but neither causes the other. A common AI trap!
🔮 Using Patterns
Once you know the rule, predict future values. Time series forecasting (stock prices, weather) all starts with pattern detection.
📡 Real Data is Messy
Real data always has noise — random variation. AI must find the pattern despite the noise, not just memorise it.
About this lab
Learning objective: Spot the pattern a simplified model is learning as it sees more labelled examples.
What this simplifies: Patterns are deliberately simple and visual; real pattern recognition often involves far subtler statistical signal.
Privacy: No learner input leaves the device.
Teacher prompt: Ask the class why this simulation might mislead someone who takes it too literally.
Reflect: What is one thing this activity showed you that you did not expect?
← Back to all Labs