Machine Learning
& Predictive AI
From linear regression to deep neural networks โ master the algorithms, concepts, and real-world applications that power modern AI systems.
The ML Taxonomy
Machine learning branches into distinct families based on how models learn from data.
Core ML Concepts
Six essential ideas every ML practitioner needs to understand deeply.
Supervised Learning
The model learns a mapping from inputs to outputs using labeled training examples. Each example is a (input, correct output) pair. The model minimizes the difference between its predictions and the true labels.
Unsupervised Learning
No labels โ the model discovers hidden structure in raw data on its own. Clustering groups similar points together; dimensionality reduction finds compact representations. Used for anomaly detection, compression, and exploration.
Reinforcement Learning
An agent learns by interacting with an environment โ taking actions, receiving rewards or penalties, and updating its policy. No labeled data; learning emerges from trial and error over thousands of episodes.
Overfitting vs Underfitting
Overfitting memorises training noise and fails on new data. Underfitting is too simple to capture the signal. The sweet spot โ the biasโvariance tradeoff โ balances both errors for best generalisation.
Feature Engineering
Transforming raw data into meaningful inputs that improve model performance. Often the most impactful step โ a good feature can outperform a complex algorithm on poor features.
Model Evaluation
Beyond accuracy: precision, recall, F1-score, and ROC-AUC reveal how well a model performs across classes. The confusion matrix shows exactly where predictions succeed or fail.
Core Algorithms
Eight foundational algorithms, each with visual intuition for how they learn and when to use them.
Linear Regression
Supervised ยท RegressionFits a line (or hyperplane) through data by minimising squared residuals. Best for continuous outputs with linear relationships.
Logistic Regression
Supervised ยท ClassificationApplies a sigmoid function to output probabilities for binary (or multi-class) classification. Fast, interpretable, great baseline.
Decision Tree
Supervised ยท BothRecursively splits data on the best feature threshold. Highly interpretable; prone to overfitting without pruning.
Random Forest
Supervised ยท EnsembleTrains many trees on random data/feature subsets and aggregates votes. Robust, handles outliers, built-in feature importance.
K-Means Clustering
Unsupervised ยท ClusteringPartitions data into K clusters by iteratively assigning points to nearest centroid and recomputing centres. Choose K via elbow method.
Neural Network
Supervised ยท Deep LearningLayers of weighted neurons learn hierarchical representations via backpropagation. Foundation of modern deep learning and AI.
Support Vector Machine
Supervised ยท ClassificationFinds the maximum-margin hyperplane separating classes. Works well in high dimensions; kernel trick handles non-linear boundaries.
Gradient Boosting
Supervised ยท EnsembleSequential ensemble that fits each tree to the residuals of previous trees. XGBoost/LightGBM variants win tabular data competitions.
ML in the Wild
Where machine learning creates measurable value across industries today.
Healthcare
AI-assisted diagnosis from medical imaging โ detecting tumours, diabetic retinopathy, and anomalies with radiologist-level accuracy.
Finance โ Fraud Detection
Real-time transaction scoring flags anomalous patterns in milliseconds, protecting billions in card spend without blocking legitimate purchases.
Retail โ Recommendations
Collaborative filtering and neural embeddings personalise product suggestions, driving 35% of Amazon's revenue via "customers also bought".
Manufacturing
Predictive maintenance analyses sensor telemetry to forecast equipment failures before they happen, cutting unplanned downtime by up to 50%.
NLP โ Sentiment Analysis
Transformer models parse customer reviews, social posts, and support tickets to surface brand perception and escalation risks at scale.
Computer Vision
Object detection and segmentation power autonomous vehicles, quality inspection, retail checkout, and security systems globally.
Transportation
Demand forecasting for ride-sharing and logistics uses weather, events, and historical patterns to optimise fleet positioning in real time.
HR โ Attrition Prediction
Models trained on engagement scores, tenure, and compensation data flag flight-risk employees months before resignation, enabling proactive retention.
Interactive Decision Boundary
Click the canvas to place data points, then train a model to see a live decision boundary appear.
Uses a k-nearest neighbours approach on a pixel grid โ each pixel is coloured by the majority class among its 5 nearest training points. Place at least 2 points per class, then hit Train.
Curated Resources
Hand-picked courses, docs, and tools โ quality over quantity.
fast.ai โ Practical Deep Learning
Top-down, code-first approach. Build real models in week 1. Free, world-class.
FreeBeginner-friendlyAndrew Ng โ ML Specialisation
The foundational MOOC. Covers regression, neural nets, and best practices from the pioneer himself.
CourseraCertificates3Blue1Brown
Stunning visual explanations of neural networks, gradient descent, and linear algebra fundamentals.
YouTubeVisualStatQuest with Josh Starmer
Clear, friendly explanations of stats and ML algorithms โ famous for making the complex feel obvious.
YouTubeStatisticsML Learning Roadmap
Six stages from zero to production-ready ML engineer.
ML Cheat Sheet
20 essential concepts, one click to copy. Hover for the definition.
๐ก Click any card to copy the definition to your clipboard
Your ML & Predictive AI Learning Path
A structured progression through machine learning โ from predictive AI fundamentals and neural networks to cloud-scale infrastructure, MLOps, and advanced architecture.
Predictive AI Fundamentals
Core concepts for every ML practitioner. Covers supervised, unsupervised, and semi-supervised learning; key functional designs (Computer Vision, NLP/NLU, Pattern Recognition); three core network types (FFNNs, CNNs, RNNs); and a repeatable process for building AI systems from requirements through deployment.
Neural Networks In Depth
Deep dive into neural network components. Covers all major activation functions (Sigmoid, Tanh, ReLU, Leaky ReLU, Softmax, Softplus), the full neuron cell type taxonomy, and 30+ named architectures from the original Perceptron (1958) to LSTM, GAN, and Transformer models.
Cloud AI Technology & Automation
ML at cloud scale: GPU/TPU processing units, MLaaS, container-based AI deployment, feature stores, cloud-based training (supervised/unsupervised/federated), pre-built Predictive AI APIs, automated deployment and monitoring, and cloud AI governance frameworks.
Cloud AI Architecture & Design
Cloud-native design patterns for production AI systems: Serverless Data Pipeline, Distributed Feature Store, Continuous Data Validation, Hybrid Data Processing, Distributed Model Training, AI Model Drift Detection, Federated AI Learning, AI Workload Autoscaling, and Containerized Model Deployment.
A widely-used, repeatable 12-step process for building any predictive AI system โ from problem definition through continuous refinement. This sequence reflects best practices across industry and research for end-to-end ML delivery.
Key Terms โ Core Concepts
Precise definitions for the vocabulary every ML practitioner needs โ covering learning approaches, network types, training mechanics, and deployment concepts.
Practice Quiz
8 questions covering core ML concepts โ learning approaches, neural network architectures, training mechanics, and deployment. Click an answer to reveal the explanation.
ML History & Landmark Research
From Rosenblatt's 1958 Perceptron to the Transformer era โ the founding papers, breakthrough moments, and key researchers who created modern machine learning.
Key Terms โ Research-Grade Definitions
Precise definitions grounded in the original papers โ with author, year, and venue for each term. The vocabulary of ML as defined by the researchers who created it.
Knowledge Check
8 questions drawn from founding papers and landmark results. Click an answer to reveal the explanation and paper citation.
ML Glossary
Twelve essential terms every ML practitioner needs to understand precisely.
Terms are grounded in the primary literature: Rumelhart & McClelland (1986) ยท Breiman (2001) ยท Srivastava et al. (2014) ยท Geman, Bienenstock & Doursat (1992) ยท Cortes & Vapnik (1995) ยท Vaswani et al. (2017) ยท Goodfellow, Bengio & Courville โ Deep Learning (MIT Press, 2016).