ML Overview
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production. |
This page holds the conceptual material of the ML (Machine Learning) section: its scope, the versions every page targets, the learning path and reading order, and the map from concepts to pages. The general concept pages (for example What Is Machine Learning? and Neural Network Fundamentals) stay at the section level and are linked from the learning path and the concept-to-page map below.
Scope and neighbouring sections
The section stops where other sections of this site take over.
-
Data Science covers the project workflow around a model: acquisition, cleaning, exploration, statistics, feature engineering, evaluation and reproducibility, with NumPy, pandas and scikit-learn sub-sections. This section builds on those pages and links back to them instead of repeating them. The scikit-learn sub-section here holds only the material that goes beyond them.
-
Artificial Intelligence covers model-centred and application topics such as large language models, agents, retrieval, Hugging Face and LangChain. The bridge page Attention & Transformers: the Bridge to LLMs ends where those pages begin.
-
Databases, deployment infrastructure and other engineering topics live in their own sections.
Targeted versions
The pages target the versions below, checked on 2026-10-30. Examples on the general pages were run on 2026-11-01 on Python 3.13 with these library versions on a CPU-only machine; each page says which of its examples need hardware or services (GPUs, several machines, Docker, large downloads) and were therefore not run. Anything labelled upcoming is not yet released and is described from the project’s own announcements.
| Component | Version | Notes |
|---|---|---|
Python |
3.13 |
3.13 is the newest Python that every library here supports: TensorFlow 2.21 ships wheels for Python 3.10 to 3.13 only, while PyTorch 2.15, scikit-learn 1.9 and Keras 3.15 require Python 3.11 or later (PyTorch 2.14 was the last release with Python 3.10 wheels). On Python 3.10, pip silently resolves older releases instead, for example Keras 3.12.4, the newest Keras whose metadata still allows 3.10. |
PyTorch |
2.15.0 |
Released on 2026-10-28. See PyTorch. |
TensorFlow |
2.21.0 |
The 2026 line is in maintenance focus; 2.22 is upcoming. See TensorFlow. |
Keras |
3.15.1 |
Keras 3 runs on JAX, PyTorch and TensorFlow; see Keras 3 Overview. |
scikit-learn |
1.9.1 |
See scikit-learn. |
JAX |
0.12.0.1 |
Used for short comparisons and as a Keras 3 backend. |
ONNX |
1.23.2 |
|
ONNX Runtime |
1.31.1 |
The runtime used to check exported models. |
Learning path
The general pages can be read in order. Each framework sub-section is a reference that the general pages link to when they need detail, and each can also be read from start to finish.
Reading order
-
Start with What Is Machine Learning? AI vs ML vs DL, Types of Learning and Problem Framing & the ML Project Lifecycle.
-
Learn the foundations in Math for ML, Loss Functions & Information Theory, Gradient Descent & Optimization and Generalization, Bias–Variance & Regularization.
-
Survey the non-deep methods in Classic ML Algorithms at a Glance and Tabular Data: Gradient Boosting vs Deep Learning.
-
Move to neural networks with Neural Network Fundamentals, Backpropagation & Automatic Differentiation and Training Deep Networks, then the architecture pages.
-
Pick a framework with Choosing a Framework and work through the PyTorch, TensorFlow or scikit-learn sub-section.
-
Finish with hardware, distributed training, compression, deployment, interpretability and fairness, and keep the glossary and the ML Cheat Sheet open while you work.
Concept-to-page map
Foundations
| Page | What it covers |
|---|---|
What machine learning is and is not, and how AI, machine learning, deep learning and foundation models relate. |
|
Supervised, unsupervised, semi-supervised, self-supervised and reinforcement learning, organised by the feedback the learner receives. |
|
Turning a business need into a machine learning problem and carrying it through the project lifecycle. |
|
The linear algebra, calculus and probability that machine learning code actually uses, with tensor shapes. |
|
Entropy, cross-entropy, KL divergence and how to choose and read a loss function. |
|
How models are fitted by optimisation: the normal equation, gradient descent and its batch, stochastic and mini-batch variants. |
|
Under- and overfitting, the bias-variance trade-off, double descent and the main regularisation techniques. |
|
A map of the classic non-deep algorithm families with strengths, weaknesses and the scikit-learn pages that document them. |
|
Why gradient-boosted trees remain the default for tabular data and when deep learning competes. |
Deep learning
| Page | What it covers |
|---|---|
The neuron, the perceptron, the multilayer perceptron, activation functions and output layers. |
|
Backpropagation and reverse-mode automatic differentiation, with PyTorch, TensorFlow and JAX gradient examples. |
|
Training Deep Networks: Initialization, Normalization & Regularization |
Weight initialisation, normalisation, dropout and the other ingredients that make deep networks trainable. |
SGD, momentum, Adam, AdamW, gradient clipping, warmup and learning-rate schedules. |
|
Convolution, pooling, receptive fields, residual blocks and CNN examples in PyTorch and Keras. |
|
Recurrent state, backpropagation through time, LSTM and GRU gates and sequence modelling. |
|
A short bridge from sequence models to large language models: attention, multi-head attention and the transformer block. |
|
Learning dense representations, embedding tables, similarity and self-supervised representation learning. |
|
Autoencoders, variational autoencoders, GANs and diffusion models. |
|
Graphs as data, message passing, graph convolutional networks and attention on graphs. |
|
Agents, Markov decision processes, value functions, Q-learning and policy gradients. |
|
Feature extraction versus fine-tuning, freezing layers, domain shift and foundation models. |
|
A practical method for getting a deep network to work and then improving it. |
Systems and production
| Page | What it covers |
|---|---|
Which processor trains a model, where training memory goes, number formats and mixed precision. |
|
Data, sharded, tensor and pipeline parallelism explained as concepts, independent of the framework. |
|
Quantisation, pruning and knowledge distillation to make a trained model smaller and faster. |
|
ONNX and ONNX Runtime as the exchange format between frameworks, with versions and operator sets. |
|
Batch versus online serving, safe model persistence and the road from a trained model to production. |
|
What to log for every run, MLflow tracking and registry, and DVC for data and pipelines. |
|
Global and local explanations, permutation importance, partial dependence, SHAP and LIME. |
|
Sources of bias, fairness metrics, mitigation with Fairlearn and responsible AI frameworks. |
Choosing and reference
| Page | What it covers |
|---|---|
How to choose between scikit-learn, gradient boosting libraries, PyTorch, Keras 3, TensorFlow and JAX. |
|
Books, courses and documentation to keep learning, and how to follow research now that Papers with Code is gone. |
|
An alphabetical glossary of machine learning and deep learning terms. |
|
One-page summaries of the general workflow and the main frameworks (written in a later step of the section). |