Glossary
The 2222 terms from the word tables of all 146 topics, in one place. Type part of a word to narrow the list, then follow the link to the topic that explains it.
No word matches.
| Textbook term | Plain words | Topic |
|---|---|---|
| (full) factorial design; with two levels each, a 2^k factorial design | a design that tests every combination | Factorial designs and interaction |
| (path of) steepest ascent; going down, steepest descent | the steepest way up | Response surface methodology |
| (Simple) random sampling | Everyone has the same chance of being picked | Samples, sampling distributions and the standard error |
| 0-1 knapsack problem | The knapsack where items cannot be cut | Dynamic programming |
| 1 ÷ temperature | Multiplier | Attention |
| 1-nearest neighbor (k-NN with k = 1) | Nearest neighbor classifier | Data splits and leakage |
| 1D convolution, temporal convolution | 1D convolution | RNNs and LSTMs |
| 1×1 convolution, pointwise convolution | 1×1 convolution | Reading CNN architectures |
| 2-3 tree (2-3 search tree). One key is a 2-node, two keys a 3-node | tree of nodes holding one or two keys | Red-black trees |
| 3-way partitioning | splitting into smaller, equal, larger | Merge sort and quicksort |
| 3D convolution | sliding a cube-shaped kernel | 3D vision: voxels, point clouds and NeRF |
| 3D convolution, 3D kernel | a filter that also slides along time | Video classification: convolution with a time axis |
| 3D Gaussian splatting | stamping 3D blobs onto the screen | 3D vision: voxels, point clouds and NeRF |
| a 2×3 matrix, read "2 by 3" | size 2×3 | Matrix multiplication |
| A/B testing, online controlled experiments | A/B tests of web pages | Randomization and control groups |
| abstention, selective prediction | saying "I don't know" | Hallucination and evaluating LLMs |
| accumulation function | the amount F(x) piled up from a to x | Integrals |
| Accuracy | Share of correct answers | Logistic regression |
| accuracy | share of right answers | Confusion matrix, precision, recall and F1 |
| action recognition, video classification | telling what a person in a video is doing | Video classification: convolution with a time axis |
| activation | what a neuron gives back, a | Neural networks |
| Activation function | The function a neuron applies at the end | Logistic regression |
| activation function, nonlinearity | The function that bends a neuron's output | Activation functions |
| activation function, nonlinearity | bending function | Neural networks |
| activation function: tanh, sigmoid, ReLU | Bent function | Weight initialization |
| activations | in-between values from the forward pass | Batch size and gradient accumulation |
| activations | values flowing between layers | Quantization |
| active control | a control group that gets the existing treatment | Randomization and control groups |
| activity selection, interval scheduling | Fitting the most meetings into one room | Greedy algorithms |
| adapter | the small package you swap in | Fine-tuning and LoRA |
| adaptive learning rate | a different step size for each direction | Gradient descent |
| Add & Norm (residual connection + layer normalization) | add and normalize | Encoders and decoders: three kinds of transformer |
Additive model. y_ij = μ + τ_j + β_i + ε_ij | value = overall mean + treatment + block + leftover | Block designs |
| Adherence, compliance | Sticking with the treatment | Clinical trial design |
| adjacency matrix | table of all node pairs | Graph search: BFS and DFS |
| adjacent vertex | neighbor | Graph search: BFS and DFS |
| adjugate (classical adjoint), written adj(A) | cofactors in place, then transposed | Cramer's rule |
adjugate matrix. Written adj A | matrix with a and d swapped and the signs of b and c changed | Inverse matrix |
| Adjusted hazard ratio | Hazard ratio when the other values are the same | Survival analysis |
| adjusted mean, least-squares mean | mean with the starting point lined up | ANCOVA |
| adjusted odds ratio | an odds ratio with other variables held the same | Risk, relative risk and odds ratio |
| Adjusted odds ratio (adjusted OR). The one from a single variable is the crude odds ratio (crude OR) | Odds ratio with the other variables held the same | Logistic regression |
| Adjusted p-value | p recalculated for the stricter threshold | Multiple comparisons |
| Adjustment, controlling for | Taking the mix out | Confounding and bias |
| affine subspace | a line or plane that misses the origin | Vector spaces and subspaces |
| affine transformation | A linear transformation plus a shift | Linear transformations |
| Agent | The one that looks, picks, and learns | Reinforcement learning |
| Agent loop | The loop | AI agents |
| Agent. A different meaning from the AI agent on this page | In reinforcement learning, the one that acts and learns from rewards | AI agents |
| AI agent, LLM agent | An LLM that uses tools and works in steps | AI agents |
| alias, aliasing; also called confounding | mixed up so they cannot be told apart | Fractional factorials and confounding |
| aliasing, confounding (in fractional designs) | mixed up so they cannot be told apart | Factorial designs and interaction |
| ALiBi (attention with linear biases) | Subtracting a penalty for distance | Positional encoding |
| Alignment weights | Alignment weights aₜ | RNNs and LSTMs |
| Allocation concealment | Hiding the next assignment in advance | Clinical trial design |
| allocation concealment | keeping the assignment order unknown in advance | Randomization and control groups |
| allocation ratio | Ratio of group sizes | Sample size calculation |
| Alternative hypothesis (H₁) | "There is a difference" | Hypothesis testing and the p-value |
| ambient dimension | how many numbers write a point down | Manifolds |
| Amortized | A big job now and then, but constant on average | Hash tables |
| amortized analysis | spreading the cost | Time complexity (Big O) |
| Analysis of covariance (ANCOVA) | Adjusting for the starting value | Repeated measures and crossover designs |
| analysis of covariance (ANCOVA) | comparing groups after lining up the starting point | ANCOVA |
| analysis of variance (ANOVA). One factor: one-way. Two factors: two-way | checking in one go whether all means are equal | Analysis of variance (ANOVA) |
| anchor · positive · negative | the reference · another augmentation of the same photo · other photos | Self-supervised learning: representations without labels |
| anchor · positive · negative, triplet | the reference · the same thing · a different thing, and the group of three | Metric learning: learning a distance |
| anchor, anchor box | reference box | Detector architectures: the R-CNN family and YOLO |
| angle addition formulas, trigonometric identities | building the cos and sin of a sum of angles | Grokking: generalizing long after memorizing |
| angle between vectors. θ is read "theta" | angle between, θ | Dot product |
| anisotropic covariance | a shape that spreads differently in each direction | 3D vision: voxels, point clouds and NeRF |
| ANOVA table | the table of results | Analysis of variance (ANOVA) |
| answer relevance / context relevance | does the answer fit / do the chunks fit | Retrieval metrics |
| anticommutativity | swapping the order flips it | Cross product |
| antiderivative, primitive | a function whose derivative is f | Integrals |
| Approximate nearest neighbor search (ANN) | Quickly finding nearly the nearest | Vector search |
| Approximate posterior, q(z | x) | The N(μ, σ²) the encoder outputs | Autoencoders and VAEs |
| Arithmetic mean, sample mean x̄ ("x bar") | Mean | Descriptive statistics |
| arm / treatment arm / control arm | Group / treatment group / control group | Sample size calculation |
| artificial neuron, unit, node | neuron | Neural networks |
| assignment step · update step | assign · move the centers | k-means clustering |
| associative law | grouping does not matter | Matrix multiplication |
| associative law. The cross product does not have it | can be regrouped | Cross product |
| Attention map, heatmap | The grid picture | Attention |
| attention mask | The "who can see whom" table | Encoders and decoders: three kinds of transformer |
| Attention matrix, self-attention | Table of scores for every pair | Vision Transformer (ViT) |
| Attention score, logit | Score before softmax | Attention |
| Attention weight | Share, how much it looks | Attention |
| AUC, AUROC. For risk scores, the c-statistic (concordance) | area under the curve | Diagnostic tests and the ROC curve |
augmented matrix. Written [A | b] | the table of numbers split by a bar | Linear systems and elimination |
| Autoencoder | A network that squeezes and rebuilds | Autoencoders and VAEs |
| Autoencoder. The shrinking half is the encoder, the spreading half is the decoder | Network that shrinks and spreads back | Diffusion models |
| automatic differentiation (autodiff) | computing with the rules of basic operations and the chain rule | Derivatives and the chain rule |
| automatic differentiation, reverse mode | backpropagation done for you by the computer | Backpropagation |
| Autoregressive generation | Writing one word at a time | Softmax and sampling |
| autoregressive generation | Writing one token at a time, each after the last | Context windows and the KV cache |
| autoregressive generation | adding one token at a time | Transformers and LLMs |
| average precision (AP) | Area under the curve | Object detection |
| average precision (AP) | each rise in recall × the precision there, added up | Confusion matrix, precision, recall and F1 |
| average precision (AP). The average over questions is MAP (mean average precision) | precision at each right answer, gathered up | Retrieval metrics |
| average rate of change, difference quotient | the average slope between two points | Derivatives and the chain rule |
| average treatment effect (ATE) | the average effect over the whole group | Randomization and control groups |
| average value of a function | the average height of a curve | Integrals |
| axial point, star point | point on an axis | Response surface methodology |
| axis | a direction in which numbers line up | Tensors and shapes: axes, shape and broadcasting |
Axis. NumPy's shape is the size along each axis | A direction you count along | Matrix basics |
| Aᵢ. Some books use another letter, such as Bᵢ | A with column i replaced by b | Cramer's rule |
| B-spline transform, control point · regularization | bending the board with grid points · keeping it smooth | Registration: from rigid to non-rigid |
| back substitution | solving by plugging in from the bottom row up | Linear systems and elimination |
| backbone | backbone | Detector architectures: the R-CNN family and YOLO |
| backbone, head (the head is also called the classifier) | Body, head | Transfer learning and fine-tuning |
| Backdoor path | Back door | Confounding and bias |
| Backpropagation through time (BPTT) | Backpropagation back across the steps | RNNs and LSTMs |
| backpropagation, backward pass | handing gradients back to front | Backpropagation |
| Backtracking | Try a path, step back when stuck | Backtracking |
| backward pass, backpropagation | computing the gradient | The training loop: one step, one epoch |
| balanced BST | A tree that keeps its height near log n | Binary search trees |
| balanced design | the same number of people in every cell | Factorial designs and interaction |
| balanced search tree | a tree that keeps its balance | Red-black trees |
| base / exponent | The number multiplied / how many times | Functions and graphs |
| base rate neglect, base rate fallacy | the mistake of forgetting the prior | Probability and Bayes' theorem |
| baseline | the value before treatment | ANCOVA |
| Baseline hazard | Hazard of someone whose values are all 0 | Survival analysis |
| baseline risk, control event rate | the risk in the unexposed group | Risk, relative risk and odds ratio |
| basis | a group of arrows with nothing extra and nothing missing | Linear combinations and span |
| basis vectors | base arrows î, ĵ | Determinant |
| basis vectors | base arrows î, ĵ | Matrix multiplication |
| basis. One arrow in it is a basis vector | set of base arrows | Basis and change of coordinates |
| batch | several data items fed at once | Tensors and shapes: axes, shape and broadcasting |
| batch | the N pairs looked at at once | Multimodal learning: how CLIP puts images and text in one space |
| batch dimension / feature dimension | batch direction / sample direction | Batch norm and layer norm |
| Batch normalization (BN) | Rescaling per batch | Normalization and standardization |
| batch normalization (BN) | normalizing over the batch | Batch norm and layer norm |
| batch size | the size of that group | Batch size and gradient accumulation |
| Beam width | How many candidates are carried along together | Softmax and sampling |
| Bellman equation | Value now = reward + γ × next value | Reinforcement learning |
| Bernoulli trial. Working is a success, not working a failure | Something you try once that works or not | Binomial and Poisson distributions |
| Beta distribution | The distribution λ is drawn from | Data augmentation |
| between-class scatter matrix | Spread between the classes, S_B | Linear discriminant analysis (LDA) |
| between-group sum of squares, treatment sum of squares (SSB) | between sum of squares | Analysis of variance (ANOVA) |
| Between-subject variation / within-subject variation | Between-person / within-person variation | Repeated measures and crossover designs |
| Bi-encoder | Model that reads them separately and compares vectors | Keyword and hybrid search |
| bi-encoder. Reading separately with the same model is a siamese network | Two towers | Embedding models: one vector per sentence |
| Bias | The one number a filter adds at the end | Convolution and CNNs |
| bias | Added constant | Weight initialization |
| bias | The added number b | Activation functions |
| bias | lopsided picking | Confidence intervals |
| bias | skew | Embeddings |
| bias | the added number | Reading CNN architectures |
| bias, offset | bias | Neural networks |
| bias, variance, bias-variance tradeoff | steady misses, shaking with every redraw | Overfitting and generalization |
| Bias. Systematic error, unlike random error | Tilted to one side | Confounding and bias |
| Biased sample, selection bias | A sample that leans to one side | Samples, sampling distributions and the standard error |
| bidirectional | Looks both ways | Encoders and decoders: three kinds of transformer |
| Big O notation, asymptotic notation | Big O, upper bound | Time complexity (Big O) |
| big O notation, asymptotic notation | Which function the work grows like for large n | Functions and graphs |
| bijective | Both injective and surjective | Linear transformations |
| Bimodal | Two peaks | Descriptive statistics |
| bin | A group split by confidence | Calibration |
| Bin (class interval), bin width | Bin, bin width | Descriptive statistics |
| bin, interval | Bin | Data drift and monitoring models in production |
| binary cross-entropy (BCE) | the loss for 0 or 1 per class | Label formats |
| Binary heap, min-heap. The opposite is a max-heap | Heap, a heap with the smallest on top | Heaps and priority queues |
| Binary search | Find it by cutting in half | Binary search |
| binary search tree (BST) | A tree with smaller on the left, bigger on the right | Binary search trees |
| Binomial distribution | Probability of k successes out of n | Binomial and Poisson distributions |
| binormal model | two normal distributions with the same spread | Diagnostic tests and the ROC curve |
| Bioequivalence study | A trial comparing two drugs with the same ingredient | Repeated measures and crossover designs |
| bit (also called shannon), nat | unit for base 2, unit for base e | Entropy and cross-entropy |
| Blinding, masking. Double-blind | Not knowing who is in which group | Clinical trial design |
| blinding, masking. Single and double blind | not knowing who is in which group | Randomization and control groups |
| Block randomization, permuted block randomization | A few people at a time, split half and half as they join | Block designs |
| block randomization, permuted blocks | half and half in every block | Randomization and control groups |
| Block. In clinical trials, stratum | A group of similar units | Block designs |
| blocks | groups formed by something that moves the result | Factorial designs and interaction |
| blocks | groups formed by something that shifts all results | Fractional factorials and confounding |
| Bonferroni correction | Dividing α by the number of outcomes | Sample size calculation |
| Bonferroni correction | significance level ÷ number of pairs | Analysis of variance (ANOVA) |
| Bonferroni correction / Holm's step-down procedure / Benjamini-Hochberg procedure | Bonferroni / Holm / BH | Multiple comparisons |
| Bonferroni correction / O'Brien-Fleming boundary. The same rule every time is the Pocock boundary | Split evenly / strict early | Clinical trial design |
| boosting, gradient boosting | fix earlier mistakes one after another | Decision trees, random forests and boosting |
| Bootstrap | Repeatedly drawing with putting back to see how much something wobbles | Nonparametric tests |
| Bootstrap, resampling | Drawing again from the sample you have | Samples, sampling distributions and the standard error |
| bootstrap. Growing and combining models that way is bagging | making copies by drawing and putting back | Decision trees, random forests and boosting |
| bottleneck block | bottleneck block | Reading CNN architectures |
| Bottleneck, latent variable or latent representation, code | The narrow neck, the numbers z after it | Autoencoders and VAEs |
| bounding box | Box | Object detection |
| bounding box regression | box correction | Detector architectures: the R-CNN family and YOLO |
| Box plot (box-and-whisker plot), whisker, fence | Box plot, whiskers, fences | Descriptive statistics |
| breadth-first search, BFS | breadth-first | Graph search: BFS and DFS |
| Broadcasting | Stretching axes of size 1 to fit | Matrix basics |
| broadcasting | computing with tensors of different shapes | Tensors and shapes: axes, shape and broadcasting |
| brute force · k-d tree · ball tree | measure all · KD tree · ball tree | k-nearest neighbors |
| Brute force, generate and test | Place everything, then check | Backtracking |
| Brute-force search, exhaustive search, exact search | Measuring everything | Vector search |
| bubble sort | compare neighbors, push the big one right | Elementary sorts |
| Bucket, slot | Slot | Hash tables |
| Budget, n_iter | Number of trials | Hyperparameter search: grid and random |
| byte pair encoding (BPE) | merging the most frequent pair | Tokenization |
| byte-level BPE | BPE that starts from bytes | Tokenization |
| calibration | How well confidence matches reality | Calibration |
| calibration | confidence matches how often it is right | Hallucination and evaluating LLMs |
| calibration | measure the range of activations | Quantization |
| camera pose | where a photo was taken from and which way it faced | 3D vision: voxels, point clouds and NeRF |
| Candidate cell state. The PyTorch docs call it the cell gate | Candidate gₜ | RNNs and LSTMs |
| Carryover effect | An earlier treatment spilling into the next period | Repeated measures and crossover designs |
| Case-control study | A study that gathers patients and controls and asks about the past | Confounding and bias |
| case-control study | a study that gathers cases and controls and asks about the past | Risk, relative risk and odds ratio |
| catastrophic forgetting | Losing the old task while learning a new one | Transfer learning and fine-tuning |
| Categorical (nominal) / ordinal data | Only the names differ / there is an order | Descriptive statistics |
| Categorical variable. Nominal if there is no order, ordinal if there is | A value that is one of a few names | The chi-square test |
| Causal diagram, DAG (directed acyclic graph) | A drawing of what changes what | Confounding and bias |
| Causal mask | Letting each token see only earlier ones | Positional encoding |
| Causal mask | Look only backward | How LLMs are trained |
| causal mask | Letting each token see only earlier tokens | Context windows and the KV cache |
| causal mask | hiding later tokens | Transformers and LLMs |
| Causal mask, masked self-attention | Can't see later words | Attention |
| Cell state, memory cell | Cell state cₜ | RNNs and LSTMs |
| Censoring: right, left and interval censoring | Did not see the ending | Survival analysis |
| center | where the bump sits | RBF |
| center point | centre point | Response surface methodology |
| center, expansion point | center a | Taylor approximation |
| Centering | Subtracting the mean | Normalization and standardization |
| centering | subtracting the mean | Principal component analysis |
| central composite design (CCD) | corners + axial points + centre | Response surface methodology |
| Central limit theorem | Adding things up gives a bell | Normal distribution |
| Central limit theorem (CLT) | Averages turn into a bell | Samples, sampling distributions and the standard error |
| Centroid | Center of a cell | Vector search |
| centroid | center | k-means clustering |
| centroid | the middle of a set | Registration: from rigid to non-rigid |
| chain rule | linking rates by multiplying | Backpropagation |
| chain rule | multiply the multiplier of each step | Derivatives and the chain rule |
| chain rule, backpropagation | multiply and pass backward | Residual connections (ResNet) |
| chain rule, backpropagation | multiplying on the way back | Vanishing and exploding gradients |
| change score | after − before | ANCOVA |
| change-of-basis matrix, transition matrix | change-of-coordinates matrix B | Basis and change of coordinates |
| change-of-basis matrix, transition matrix. Some books give this name to P⁻¹ | The matrix P with the new basis as columns | Linear transformations |
| Channel | One color grid | Convolution and CNNs |
| channel, channels-first · channels-last | the axis of color values per cell | Tensors and shapes: axes, shape and broadcasting |
| Channels (3 for RGB color) | Number of color numbers | Vision Transformer (ViT) |
| character encoding, UTF-8 | the rule for writing characters as bytes | Tokenization |
| characteristic equation | the quadratic equation for the eigenvalues | Eigenvalues and eigenvectors |
| checkerboard artifact | checkerboard pattern | Image segmentation |
| Checkpoint | Training state saved to a file | Early stopping and reading learning curves |
| Chunk overlap | Text two neighboring chunks share | Chunking |
| Chunk size | Most text one chunk can hold | Chunking |
| Chunk, passage | Piece | Chunking |
| chunk, passage | chunk | RAG |
| chunking | Splitting material into pieces | Context windows and the KV cache |
| chunking | cutting documents into chunks | RAG |
| Chunking, text splitting | Cutting documents into pieces | Chunking |
| citation, grounding | adding sources to an answer | RAG |
| class | Object type | Object detection |
| class imbalance | data where one answer is far more common | Confusion matrix, precision, recall and F1 |
| class imbalance | mostly background | Image segmentation |
| class imbalance, imbalanced data | one class is much more common | Class imbalance |
| class index, hard label | the answer's number | Label formats |
| Class token, [CLS] | Token for the class | Vision Transformer (ViT) |
| class weight, weighted cross-entropy | a number multiplied into each class's loss | Class imbalance |
| class, label | Class, the label with the right answer | Linear discriminant analysis (LDA) |
| class, label | group | k-nearest neighbors |
| Classification head | Final classifying layer | Vision Transformer (ViT) |
| classification threshold, decision threshold | threshold | Confusion matrix, precision, recall and F1 |
| Classification. With two groups, binary classification | Guessing which side | Logistic regression |
| Classifier-free guidance (CFG), guidance scale | Guidance, guidance strength | Diffusion models |
| Clinical equipoise | Truly not knowing which option is better | Clinical trial design |
| Clinical trial | A treatment experiment in people | Clinical trial design |
| clipping | cut values outside the range to the end | Quantization |
| Closed interval [lo, hi] / half-open interval [lo, hi) | Range with both ends in / with the right end out | Binary search |
| closed under addition and scalar multiplication | you cannot leave it | Vector spaces and subspaces |
| Clustered data, cluster randomization | Grouped data, assigning whole groups | Repeated measures and crossover designs |
| clustering, a cluster | grouping what is close, a group | k-means clustering |
| Clustering, k-means | Grouping points | Vector search |
| CNN | Convolutional neural network | Convolution and CNNs |
| co-adaptation | neurons leaning on each other | Dropout |
| coded units, coded variables | the scale with the centre at 0 and the corners at ±1 | Response surface methodology |
| Coefficient of determination (R²) / adjusted R² | The share the formula explains / with a charge for the number of inputs | Multiple regression |
| Coefficient of determination, r² or R² | The share of the spread the line explains | Correlation and regression |
| coefficients, parameters | The numbers in a formula | Functions and graphs |
| coefficients, parameters | weights | Overfitting and generalization |
| coefficients. Each is one number, so they are also scalars | the numbers s, t | Linear combinations and span |
| coefficients. Together they form the coefficient matrix | the numbers in front of x and y | Linear systems and elimination |
| cofactor expansion, Laplace expansion | expanding along the first row | Cramer's rule |
| cofactor, Cᵢⱼ = (−1)^(i+j) Mᵢⱼ | minor with a sign attached | Cramer's rule |
| Cohen's d, standardized mean difference | Effect size d | Multiple comparisons |
| Cohen's d, standardized mean difference | effect size d | The t-test |
| cohort study | a study that follows people forward | Risk, relative risk and odds ratio |
| coin change problem | Making change | Greedy algorithms |
| Collider | A factor two arrows crash into | Confounding and bias |
| Collision | Different keys landing in the same slot | Hash tables |
| color flip | flip colors | Red-black trees |
| Color jitter | Brightness and color changes | Data augmentation |
| Column | A line down | Matrix basics |
| column space | what you can make by mixing the columns | Projection and least squares |
| column space | where A·x can reach | Vector spaces and subspaces |
| column space, range, image | every place the output can reach | Rank |
| Column vector | A matrix with one column | Matrix basics |
| Column vector, row vector | A vector standing up, a vector lying down | Vectors in n dimensions |
| Combination, binomial coefficient. Written C(n, k) or ₙCₖ | Number of ways to choose k of n | Binomial and Poisson distributions |
| common slope, pooled within-group regression coefficient | the slope both lines share | ANCOVA |
| commutative law · distributive law | order does not matter · add first or after, same result | Dot product |
| commutative law. Usually false for matrix multiplication | order does not matter | Matrix multiplication |
| compare | compare | Elementary sorts |
| Competing risks | Another event that prevents the event | Survival analysis |
| complement | A does not happen | Probability and Bayes' theorem |
| Complementary error function (erfc) | The function used for outer areas of the normal curve | Hypothesis testing and the p-value |
| Complete binary tree | Complete tree | Heaps and priority queues |
| Completely randomized design (CRD) | Anywhere in the field | Block designs |
| complex eigenvalue | eigenvalue that is not a real number | Eigenvalues and eigenvectors |
| Component, entry. Written vi | The number in one position | Vectors in n dimensions |
| components | across, up | Vectors |
| components | numbers in matching places (across, up) | Dot product |
components. a1, a2, a3 | x, y, z parts | Cross product |
composite function. f(g(x)) | a function with another function inside | Derivatives and the chain rule |
| composition | Doing one transformation after another | Linear transformations |
| composition | joining two changes into one | Matrix multiplication |
composition, composite function, f ∘ g | Chaining functions | Functions and graphs |
| computational graph | the picture of circles, boxes and arrows | Backpropagation |
| concatenation, concat | concatenating along the channels | Reading CNN architectures |
| concept drift, concept shift | The link between input and label changes | Data drift and monitoring models in production |
| concordance probability. Mann-Whitney U ÷ (n₁ × n₂) | chance the sick person wins | Diagnostic tests and the ROC curve |
| condition number | largest eigenvalue ÷ smallest eigenvalue | Jacobian and Hessian |
| Conditional generation, prompt | Condition, ordering with words | Diffusion models |
| conditional probability | the probability of A given B | Probability and Bayes' theorem |
| confidence | Probability of the chosen answer | Calibration |
| Confidence band / prediction band, prediction interval | Band for the mean / band for one new person | Correlation and regression |
| confidence interval | estimated range of the difference | The t-test |
| confidence level, confidence coefficient | a level such as 95% | Confidence intervals |
| confidence score | How sure the model is | Object detection |
| confidence score | confidence | Detector architectures: the R-CNN family and YOLO |
| confirmation run | trying the spot you found again | Response surface methodology |
| Confirmatory / exploratory study | Confirming study / scanning study | Multiple comparisons |
| Confounder, confounding variable | A hidden third variable | Correlation and regression |
| Confounder, confounding variable | The factor that leaks in | Confounding and bias |
| Confounding | A third factor leaking into a comparison | Confounding and bias |
| Confounding | Treatment mixed up with another cause | Block designs |
| confounding | an unmeasured difference mixed into the effect | ANCOVA |
| confounding | another cause affecting the result along with the treatment | Randomization and control groups |
| Confounding / omitted variable bias | A hidden value changes the coefficient / the error from leaving it out | Multiple regression |
| confounding in blocks | letting an effect overlap with blocks on purpose | Fractional factorials and confounding |
| confusion matrix | table of four boxes | Confusion matrix, precision, recall and F1 |
| connected component | group | Minimum spanning trees |
| connected component | one connected piece | Graph search: BFS and DFS |
| CONSORT flow diagram, CONSORT statement | The flow diagram and reporting checklist | Clinical trial design |
| constant of integration | + C | Integrals |
| constant · logarithmic · linear · linearithmic · quadratic · exponential | same · one more step · double · a bit more than double · four times · double per extra item | Time complexity (Big O) |
| constrained decoding, grammar-constrained decoding, guided generation | switching off tokens outside the grammar when picking | Structured output |
| Constraint region, norm ball | The penalty fence (circle, diamond) | Weight decay and L1/L2 regularization |
| Constraint satisfaction problem | Finding an arrangement that meets the rules | Backtracking |
| Context vector. Section 7 uses one to the end; with attention a new one is built for every word | Summary state, cₜ in section 8 | RNNs and LSTMs |
| Context window | How much the model can read at once | AI agents |
| context window | the amount of text a model reads at once | RAG |
| Context window, context length | How many tokens fit at once | Attention |
| context window, context length | How many tokens the model sees at once | Context windows and the KV cache |
| context window, context length | how many tokens it can see at once | Transformers and LLMs |
| context window, context length | most tokens a model can look at at once | Tokenization |
| context, context window | the words around a word | Embeddings |
| contextual embedding | embedding that changes with context | Embeddings |
| Contingency table, cross-tabulation | A table that sorts people by two things | The chi-square test |
| contingency table, two-by-two table | 2×2 table | Risk, relative risk and odds ratio |
| Continuity correction | Subtracting ½ | Nonparametric tests |
| Continuous | You can draw it without lifting your pencil | Limits and continuity |
| contour line, level curve | a line joining places of the same height | Derivatives and the chain rule |
| contour line, level curve | a line joining places of the same height | Partial derivatives and the gradient |
| contrast | sum with signs attached | Factorial designs and interaction |
| Contrastive learning | Pull pairs together, push others apart | How LLMs are trained |
| contrastive learning | Training that pulls pairs and pushes non-pairs | Embedding models: one vector per sentence |
| contrastive learning | learning by comparing | Self-supervised learning: representations without labels |
| contrastive learning | learning by comparing pairs with the rest | Multimodal learning: how CLIP puts images and text in one space |
| contrastive loss | pull same pairs, push different pairs out to the margin | Metric learning: learning a distance |
| Control group / placebo / active control | The comparison group / dummy pill / comparing with the current treatment | Clinical trial design |
| convergence | stopping because nothing changes | k-means clustering |
| Converges (convergence) | Settles on one value | Limits and continuity |
| convex / concave | cup shape / hill shape | Taylor approximation |
| convex function | bowl-shaped everywhere | Jacobian and Hessian |
| Convex hull | Area the data covers | Diffusion models |
| coordinates, coordinate vector | address (u, v) | Basis and change of coordinates |
| correlation matrix | covariance matrix of standardized data | Principal component analysis |
| correspondence, corresponding points | which point belongs with which | Registration: from rigid to non-rigid |
| cosine annealing, cosine decay | drop in a cosine shape | Learning rate schedules |
| cosine similarity | cosine similarity | Dot product |
| cosine similarity | how much two directions agree | Self-supervised learning: representations without labels |
| cosine similarity | how much two vectors point the same way | Multimodal learning: how CLIP puts images and text in one space |
| cosine similarity | how similar | RAG |
cosine similarity. 1 − cosine similarity is called cosine distance | cosine similarity | Embeddings |
| counterexample | An example where it goes wrong | Greedy algorithms |
| Covariance | How much they move together (has units) | Correlation and regression |
| covariance | growing together or moving opposite | Principal component analysis |
| covariance matrix | Table of how inputs spread together, Σ | Linear discriminant analysis (LDA) |
| covariance matrix | the table of variances and covariances | Principal component analysis |
| Covariance, correlation coefficient | How much two inputs move together | Normalization and standardization |
| covariate | another value measured alongside | ANCOVA |
| Covariate adjustment | Correcting later, in the analysis | Block designs |
| covariate shift | The inputs change | Data drift and monitoring models in production |
| coverage | share of questions answered | Hallucination and evaluating LLMs |
| coverage probability | share of intervals that contain the true value | Confidence intervals |
| Cox proportional hazards model, Cox regression | Model that adjusts for other values | Survival analysis |
| Cramer's rule | solving equations with ratios of areas | Inverse matrix |
| Cramer's rule | the formula that finds s and t as "area made with the target ÷ area of a and b" | Linear combinations and span |
| credible interval / prior, posterior | interval built from belief | Confidence intervals |
| critical point, stationary point | a spot where the gradient is 0 | Partial derivatives and the gradient |
| critical point, stationary point | a spot where the slope is 0 | Derivatives and the chain rule |
| critical point, stationary point | stopping point (where the gradient is 0) | Jacobian and Hessian |
| critical value / rejection region | the cutoff / the region past it | Type I and type II errors, and statistical power |
| critical value, edge of the rejection region | Cutoff | Sample size calculation |
| critical value, t* | cutoff, edge | The t-test |
| Critical value. Beyond it is the rejection region | The line where the two outer areas add up to α (1.96) | Hypothesis testing and the p-value |
| Critical value. The 5% is the significance level (α) | The 5% line | The chi-square test |
| critical value; for the normal distribution, the z value | multiplier (1.96, t) | Confidence intervals |
cross product, vector product. Written a × b | cross product | Cross product |
| cross-attention | Attention from the decoder to the source | Encoders and decoders: three kinds of transformer |
| cross-attention | attention from the decoder to the encoder | Transformers and LLMs |
| Cross-attention, encoder-decoder attention | Looking at another sentence | Attention |
| Cross-correlation | Placing the filter without flipping it | Convolution and CNNs |
| Cross-encoder | Model that reads the query and document together | Keyword and hybrid search |
| cross-encoder | One tower | Embedding models: one vector per sentence |
| cross-entropy | average surprise through your prediction | Entropy and cross-entropy |
| cross-entropy loss | the penalty for guessing the next token | Transformers and LLMs |
| Cross-entropy loss, log loss, negative log-likelihood | Loss (cross-entropy) | Logistic regression |
| cross-section, trace | the shape you get by fixing one input and cutting the ground | Partial derivatives and the gradient |
| cross-validation | choosing with held-out data | RBF |
| Crossover design. Two orders × two periods: 2×2 crossover (AB/BA) | Everyone gets both treatments in turn | Repeated measures and crossover designs |
| crowding problem | points crowding on a plane | t-SNE and UMAP |
| Crude difference, crude (unadjusted) estimate | The pooled difference | Confounding and bias |
| Cumulative distribution function (CDF) | Probability of a value below x | Normal distribution |
| cumulative gain (CG) / discounted cumulative gain (DCG) | grades added up / added with lower places shrunk | Retrieval metrics |
| curse of dimensionality | the number of cells to cover multiplying with each dimension | RBF |
| Curse of dimensionality, distance concentration | Distances becoming similar in many dimensions | Vector search |
| Curse of dimensionality, distance concentration | Ways high dimensions break your intuition | Vectors in n dimensions |
| curvature | bend | Response surface methodology |
| curvature | how much the bowl bends | Learning rate schedules |
| Curvature, eigenvalues of the Hessian | How sharply the loss curves, h | Weight decay and L1/L2 regularization |
| cut property | the cheapest crossing line is in the tree | Minimum spanning trees |
| cut, crossing edge | splitting into two groups, crossing line | Minimum spanning trees |
| cut-off value, threshold | cutoff | Diagnostic tests and the ROC curve |
| CutMix | Cutting and pasting a piece | Data augmentation |
| Cutout, random erasing | Blanking out a square | Data augmentation |
| cycle | loop | Minimum spanning trees |
| DAG, directed acyclic graph | graph with arrows and no cycle | Topological sort |
| Data augmentation | Growing data by changing it | Data augmentation |
| data augmentation | adding data by meaning-keeping changes | Dropout |
| data augmentation | making more training data from what you have | Overfitting and generalization |
| data contamination, leakage | test questions mixed into training | Hallucination and evaluating LLMs |
| Data leakage | Test data leaking into training | Data augmentation |
| Data leakage | Test data seeping into training | Normalization and standardization |
| data leakage, data contamination | test data leaking into training | Overfitting and generalization |
| Data leakage. A column filled in only after the outcome is target leakage | Information slipping in | Data splits and leakage |
| data type, dtype | the kind of element (integer, float …) | Tensors and shapes: axes, shape and broadcasting |
| dataset shift, distribution shift | Data drift | Data drift and monitoring models in production |
| DDIM (denoising diffusion implicit model) | Drawing with no new noise | Diffusion models |
| decay, annealing | making it smaller | Learning rate schedules |
| Decision boundary | Dividing line | Logistic regression |
| decision boundary | the line where the answer flips | Neural networks |
| decision boundary | the line where the two colors meet | k-nearest neighbors |
| decision boundary, hyperplane | boundary (a flat sheet with three or more inputs) | Support vector machines |
| decision function | the SVM score | RBF |
| decision threshold | Cutoff | Data drift and monitoring models in production |
| decision tree. A common way of growing one is called CART | a model made of chained questions | Decision trees, random forests and boosting |
| Decoding strategy | The whole way of picking the next token | Softmax and sampling |
| Decoupled weight decay, AdamW | Shrinking taken out of the slope | Weight decay and L1/L2 regularization |
| Deep Q-network (DQN) | A neural network that gives Q | Reinforcement learning |
| defective matrix | matrix without enough eigen directions to diagonalize | Eigenvalues and eigenvectors |
| defining relation (defining contrast), e.g. I = ABC | the equation that fixes the overlapping pairs | Fractional factorials and confounding |
| degenerate tree | A tree stretched into one line | Binary search trees |
| degradation problem | deeper means higher training error | Residual connections (ResNet) |
| degrees of freedom | how many numbers a transform has | Registration: from rigid to non-rigid |
| Degrees of freedom (df) | How many values are free | Block designs |
| Degrees of freedom (df) | The number of cells you can choose freely | The chi-square test |
| Degrees of freedom (df) | n − 2 | Correlation and regression |
| degrees of freedom (df) | number of pieces free to move | Analysis of variance (ANOVA) |
| degrees of freedom (df, ν) | pieces of information left for estimating the spread | The t-test |
| Denoising autoencoder | Add noise, then ask for the original | Autoencoders and VAEs |
| Dense retrieval, semantic search | Vector search | Keyword and hybrid search |
| density-based clustering, DBSCAN | grouping by following dense areas | k-means clustering |
| depth map | a picture with a distance in each cell | 3D vision: voxels, point clouds and NeRF |
| Depth-first search (DFS) | Going all the way down one branch first | Backtracking |
| depth-first search, DFS | depth-first | Graph search: BFS and DFS |
| dequantization | go back, x̂ = s·(q − z) | Quantization |
| deque, double-ended queue | list with two open ends | Graph search: BFS and DFS |
derivative (derivative function). f′(x), dy/dx | the function that collects the slopes | Derivatives and the chain rule |
| derivative at a point, instantaneous rate of change | the slope at a spot | Derivatives and the chain rule |
| derivative. With many directions, the gradient | slope | Gradient descent |
| Descriptive statistics. Estimating a bigger group is inferential statistics | Summarizing the data you have, as it is | Descriptive statistics |
| Design effect | How many times the variance was understated | Repeated measures and crossover designs |
determinant. Written det A | what area gets multiplied by | Inverse matrix |
determinant. Written det A or |A| | determinant | Determinant |
| dev set / test set | development questions / test questions | Retrieval metrics |
| Development set, evaluation set (held-out samples) | Development data, evaluation data | Hyperparameter search: grid and random |
| Deviation | A value minus the mean | Descriptive statistics |
| Deviation | Distance to the mean | Normal distribution |
| diagonal matrix | a matrix with numbers only on its diagonal, like Σ | Singular value decomposition |
| diagonal matrix | matrix with numbers only on the diagonal | Eigenvalues and eigenvectors |
diagonalization. A = P D P⁻¹ | writing a matrix with eigenvectors as the base | Eigenvalues and eigenvectors |
| Dice coefficient (Sørensen–Dice). Same value as the F1 score | 2 × overlap ÷ the two sizes added | Image segmentation |
| dichotomization | cutting a number in two | Diagnostic tests and the ROC curve |
| difference to be detected, minimal clinically important difference | The smallest effect worth finding, δ | Sample size calculation |
| differentiation | finding the slope | Derivatives and the chain rule |
| Diffusion model, denoising diffusion probabilistic model (DDPM) | Diffusion model | Diffusion models |
| Dimension | How many numbers | Vectors in n dimensions |
| dimension | how many numbers | Embeddings |
| dimension | how many numbers each point has | Principal component analysis |
| dimension | how many numbers you need to write one point | Linear combinations and span |
| dimension | number of places | Dot product |
| dimension reduction, restoring | cutting channels, restoring them | Reading CNN architectures |
| Dimension, d or dk | How many numbers a vector has | Attention |
dimension. Written dim | number of arrows in a basis | Basis and change of coordinates |
| dimensionality reduction | cutting down the number of values | Principal component analysis |
| dimensionality reduction | squashing down the dimensions | Embeddings |
| dimensionality reduction, visualization | flattening high-dimensional points into 2D | t-SNE and UMAP |
| directed cycle | cycle | Topological sort |
| directed edge | arrow | Topological sort |
| directed graph, digraph | graph of one-way edges | Dijkstra's algorithm |
| directed graph, digraph | graph with arrows | Topological sort |
directional derivative. Duf | the slope when you walk any way you like | Partial derivatives and the gradient |
| Discontinuity | A break | Limits and continuity |
| Discount factor (γ) | Discount | Reinforcement learning |
| Discrete / continuous | Separate steps / any value in between | Normal distribution |
| Discrete / continuous data | Numbers you count / values in between exist too | Descriptive statistics |
| discrete Fourier transform (DFT) | splitting values into waves of each frequency | Grokking: generalizing long after memorizing |
| discriminative fine-tuning, layer-wise learning rates | A different learning rate for each layer | Transfer learning and fine-tuning |
| discriminator (D) | The inspector | GANs |
| distance estimate (distTo[v], dist[v]) | shortest distance known so far | Dijkstra's algorithm |
| distributional hypothesis | words in similar places have similar meanings | Embeddings |
| distributive law | can be split up | Cross product |
| distributive law | splitting over a sum | Matrix multiplication |
| divergence | jumping farther and farther | Learning rate schedules |
| Diverges (divergence) | Does not settle, grows without end | Limits and continuity |
| divide and conquer | Splitting and solving when the pieces do not overlap | Dynamic programming |
| divide and conquer | split, solve, combine | Merge sort and quicksort |
| Document length normalization | Length factor | Keyword and hybrid search |
| domain | The x values you can put in | Functions and graphs |
| domain, codomain | Input space, output space | Linear transformations |
| Dot plot, strip plot | A picture with every point | Descriptive statistics |
| Dot product | Pair up, multiply, add | Matrix basics |
| Dot product, inner product | Multiply position by position and add up | Vectors in n dimensions |
dot product, scalar product. Written a · b | dot product | Cross product |
dot product, scalar product. Written a · b. "Inner product" is a wider term, and the dot product is the most common kind | dot product | Dot product |
| downstream task | the job you actually care about | Self-supervised learning: representations without labels |
| dropout | switch off some neurons | Overfitting and generalization |
| dropout | turning neurons off at random in training | Dropout |
| dropout rate, drop probability. The original paper uses p for the retention probability | drop rate p | Dropout |
| dropout, loss to follow-up | Leaving partway | Sample size calculation |
| Dummy variable, indicator variable | Columns marked 0 and 1 | Multiple regression |
| dummy variable, indicator variable | a column holding 0 and 1 for the groups | ANCOVA |
| dying ReLU | a ReLU stuck on negative inputs | Vanishing and exploding gradients |
| dying ReLU, dead neuron | A neuron that always outputs 0 | Activation functions |
| dynamic programming (DP) | Write small answers down and reuse them | Dynamic programming |
| e, Euler's number | The number for interest that never stops, 2.718… | Functions and graphs |
| early exaggeration | making P bigger in the first steps | t-SNE and UMAP |
| Early stopping | Deciding when to stop from validation loss | Early stopping and reading learning curves |
| early stopping | stop early | Overfitting and generalization |
| early stopping | stopping when validation loss stops improving | Dropout |
| easy negative · semi-hard negative · hard negative | loss 0 · order right but slack short · order wrong | Metric learning: learning a distance |
| edge | line | Minimum spanning trees |
| edge weight | edge length | Dijkstra's algorithm |
| Effect modification | The effect differs by layer | Confounding and bias |
| effect size inflation, winner's curse | significant effects coming out too big | Type I and type II errors, and statistical power |
| effect size, clinical significance, minimal clinically important difference | big enough to matter | Confidence intervals |
| effect size, Cohen's d | δ ÷ σ | Sample size calculation |
| effect size, Cohen's d, standardized mean difference | the effect δ, and the effect divided by the standard deviation, d | Type I and type II errors, and statistical power |
| Effect size. Divided by the spread, it is Cohen's d | How big the difference is | Hypothesis testing and the p-value |
| Effect size: Cramér's V, phi coefficient (φ) | The size of the relationship | The chi-square test |
| effect size: eta squared (η²), omega squared (ω²) | share of the total spread from group differences | Analysis of variance (ANOVA) |
| effective batch size | the examples behind one update | Batch size and gradient accumulation |
| Effective stride, jump | Product of the strides below, j | Pooling and receptive fields |
| eigenface | eigenface | Principal component analysis |
| eigenspace | eigen direction (the line) | Eigenvalues and eigenvectors |
eigenvalue. Usually written λ | how many times longer | Eigenvalues and eigenvectors |
| eigenvector | arrow that keeps its direction | Eigenvalues and eigenvectors |
| eigenvector and eigenvalue | an arrow whose direction stays the same, and how much it is stretched | Singular value decomposition |
| elbow method · silhouette coefficient | elbow · silhouette | k-means clustering |
| element · size | the number in one cell · how many there are | Tensors and shapes: axes, shape and broadcasting |
| elementary row operations | swap, multiply, add a multiple | Linear systems and elimination |
| elimination | multiply two equations by numbers and subtract to remove one unknown | Linear combinations and span |
| embedding | the vector an input turns into | Metric learning: learning a distance |
| embedding | the vector data is turned into | Multimodal learning: how CLIP puts images and text in one space |
| embedding | turning text into a list of numbers that holds its meaning | RAG |
| embedding matrix, embedding layer | table from token number to vector | Embeddings |
| Embedding model | A model that turns text into a list of numbers | Chunking |
| embedding model, sentence encoder | Embedding model | Embedding models: one vector per sentence |
| embedding, embedding matrix | a token's vector, vocabulary table | Transformers and LLMs |
| embedding. For one word, a word embedding. For a sentence or document, a sentence embedding or document embedding | embedding | Embeddings |
| empirical CDF | Cumulative share curve | Data drift and monitoring models in production |
| Empirical rule, three-sigma rule | 68-95-99.7 rule | Normal distribution |
| encoder / decoder | The part that reads / the part that writes | Encoders and decoders: three kinds of transformer |
| encoder / decoder | the reading part / the writing part | Transformers and LLMs |
| Encoder, decoder | The squeezing part, the rebuilding part | Autoencoders and VAEs |
| encoder, decoder. The U-Net paper says contracting path, expansive path | shrinking half, growing half | Image segmentation |
| encoder-decoder | Both parts joined | Encoders and decoders: three kinds of transformer |
| Encoder-decoder, seq2seq (sequence to sequence) | Reading one row and writing another | RNNs and LSTMs |
| encoder-only model / decoder-only model | A model with only the encoder / only the decoder | Encoders and decoders: three kinds of transformer |
| encoder: image encoder, text encoder | a neural network that turns data into a vector | Multimodal learning: how CLIP puts images and text in one space |
| ensemble | averaging the answers of many models | Dropout |
| ensemble | combining many models | Decision trees, random forests and boosting |
| entropy | the floor of the loss | Label formats |
| Entropy, measured in bits | Spread | Softmax and sampling |
| entropy, Shannon entropy | average surprise | Entropy and cross-entropy |
Entry, element. Written aᵢⱼ | An entry, the number in it | Matrix basics |
entry, element. Written like a₁₂ | one number in the matrix | Matrix multiplication |
| Environment | Everything outside the agent | Reinforcement learning |
| Episode | One round | Reinforcement learning |
| Epoch | One full pass over the training data | Early stopping and reading learning curves |
| Epoch | One pass over the training data | Data augmentation |
| epoch | one pass over all the data | Batch size and gradient accumulation |
| epoch | one pass over all the data | The training loop: one step, one epoch |
| epsilon (ε) | tiny number that prevents division by 0 | Batch norm and layer norm |
| Epsilon-delta definition | Pinning it down with an allowed height ε and a width δ | Limits and continuity |
| equal variances, homogeneity of variance | the two groups have the same spread | The t-test |
| equivalence test | a test that shows an effect is tiny | Type I and type II errors, and statistical power |
| Error bar | The spread marks on a figure | Samples, sampling distributions and the standard error |
| Error function (erf) | The function used to get areas under the normal curve | Normal distribution |
error, remainder. Rₙ(x) | gap between the approximation and the real function | Taylor approximation |
| error, residual | leftover (spread within cells) | Factorial designs and interaction |
| Estimand | What you are trying to estimate | Clinical trial design |
| estimate, point estimate; for a mean, the sample mean x̄ | estimate, single estimate | Confidence intervals |
| Euclidean distance | Straight-line distance | Vectors in n dimensions |
| Euclidean distance | straight-line distance | Embeddings |
| Euclidean distance | straight-line distance | k-means clustering |
| Euclidean distance | straight-line distance | k-nearest neighbors |
| Euclidean distance | straight-line distance | Manifolds |
| Euclidean distance | straight-line distance | Metric learning: learning a distance |
| Euclidean distance, L2 distance | Straight-line distance | Vector search |
| eval set, benchmark | fixed test set | Hallucination and evaluating LLMs |
| event | something that may or may not happen | Probability and Bayes' theorem |
| Event, failure | That something (relapse, death, failure, cancellation) | Survival analysis |
| Evidence lower bound (ELBO) | The VAE loss with its sign flipped | Autoencoders and VAEs |
| EWC (elastic weight consolidation) | Moving the important weights less | Transfer learning and fine-tuning |
| exact match (EM) | same text as the right answer | Hallucination and evaluating LLMs |
| Exact test / normal approximation | p from counting every arrangement / p from a bell-shaped estimate | Nonparametric tests |
| Excessive agency / principle of least privilege | Too much power / only the narrowest permissions | AI agents |
| exchange, swap | swap | Elementary sorts |
| exclusive or (XOR) | true when exactly one is true | Neural networks |
| exhaustive search, brute force | Checking every case | Greedy algorithms |
| expectation | Average E | GANs |
| expectation, expected value | average E[ ] | Dropout |
| Expectation, mean | Mean E[x] | Normalization and standardization |
| expected calibration error (ECE) | Per-bin gaps added up by bin share | Calibration |
| expected cost, expected loss | average cost per person | Diagnostic tests and the ROC curve |
| Expected frequency | Expected count E (if unrelated) | The chi-square test |
| Expected value, mean. Written μ | Mean of a distribution | Normal distribution |
| Experience replay | Storing past steps and learning from them again | Reinforcement learning |
| explained variance ratio | share explained | Principal component analysis |
| exploding gradient | gradient getting huge | Vanishing and exploding gradients |
| exploding gradient | the gradient gets large near the input | Residual connections (ResNet) |
| Exploration / exploitation | Trying what you have not tried / using the good thing you know | Reinforcement learning |
| Exponential distribution, Weibull distribution | Distributions with a constant, rising or falling hazard | Survival analysis |
| exponential function | The same multiplier at every step | Functions and graphs |
| Exponential time | Each step up in n multiplies the work | Backtracking |
| exposure, outcome, event | what you are exposed to, what you watch for | Risk, relative risk and odds ratio |
| Extrapolation | Stretching beyond the data | Correlation and regression |
| F distribution | how F spreads when all means are equal | Analysis of variance (ANOVA) |
| F statistic, F ratio | between ÷ within | Analysis of variance (ANOVA) |
| F-beta score | F with more weight on one side | Confusion matrix, precision, recall and F1 |
| F1 score, F-measure | harmonic mean of precision and recall | Confusion matrix, precision, recall and F1 |
| F1 score, F-measure | harmonic mean of precision and recall | Retrieval metrics |
| factor | something the experimenter sets to learn its effect | Factorial designs and interaction |
| factor, independent variable | setting | Response surface methodology |
factorial. n! | all numbers from 1 to n multiplied | Taylor approximation |
| faithfulness problem · factuality problem | not matching the source · not matching the world | Hallucination and evaluating LLMs |
| faithfulness, groundedness | sticking to the sources | Retrieval metrics |
| fake quantization, simulated quantization | quantize then restore, only in the forward pass | Quantization |
| False discovery proportion (FDP) | False share in the one list you got | Multiple comparisons |
| False discovery rate (FDR) | Average share of false discoveries | Multiple comparisons |
| False negative (FN) | Miss | Logistic regression |
| false negative (FN), type II error | miss | Confusion matrix, precision, recall and F1 |
| false negative, false positive | miss, false alarm | Diagnostic tests and the ROC curve |
| false positive | False alarm | Data drift and monitoring models in production |
| False positive (FP) | False alarm | Logistic regression |
| false positive (FP), type I error | false alarm | Confusion matrix, precision, recall and F1 |
| false positive rate | share of negatives called positive | Class imbalance |
| false positive rate (FPR) | 1 − specificity, share flagged by mistake | Diagnostic tests and the ROC curve |
| Family of tests | The group of tests run together | Multiple comparisons |
| Family-wise error rate (FWER) | Chance of at least one false discovery | Multiple comparisons |
| familywise error rate (FWER) | chance of at least one false "significant" over many tests | Analysis of variance (ANOVA) |
| fan-in (n_in), fan-out (n_out) | Number of incoming units n, outgoing units | Weight initialization |
| fan-in, fan-out | number of values coming in, going out | Vanishing and exploding gradients |
| feature extraction, linear probing | Freezing the body and training only the head | Transfer learning and fine-tuning |
| feature map | feature map | Detector architectures: the R-CNN family and YOLO |
| Feature map, activation map | Output grid | Convolution and CNNs |
| Feature map, channel | One grid of numbers | Pooling and receptive fields |
| feature map, channel | feature map, channel | Reading CNN architectures |
| Feature scaling, normalization | Matching the scales of the inputs | Normalization and standardization |
| feature scaling, normalization, standardization | matching the scales | k-nearest neighbors |
| feature, neuron, or channel in images | a feature | Batch norm and layer norm |
| Feature, variable | Input, one number | Normalization and standardization |
| feed-forward network, MLP | Small neural network | Encoders and decoders: three kinds of transformer |
| FIFO, first in first out | queue (oldest out first) | Graph search: BFS and DFS |
| Filter, kernel | Small grid of numbers, filter | Convolution and CNNs |
| filter, kernel | filter, window | Reading CNN architectures |
| fine-tuning | Starting from pretrained weights and training more | Transfer learning and fine-tuning |
| fine-tuning | Training the model further to fit a job | Context windows and the KV cache |
| fine-tuning | training the model more on your own data | RAG |
| Fine-tuning, transfer learning | Take it and adjust it to your data | Vision Transformer (ViT) |
| fine-tuning. Changing every weight is full fine-tuning | training a little more | Fine-tuning and LoRA |
| Finite population correction | The adjustment when the sample is a big share of the population | Samples, sampling distributions and the standard error |
| First and second moment estimates (m̂, v̂) | Recent average and size of the slope | Weight decay and L1/L2 regularization |
| first-order / second-order accuracy | twice the bars, half / a quarter of the error | Integrals |
| first-order model | plane formula | Response surface methodology |
| Fisher criterion | J(w) | Linear discriminant analysis (LDA) |
| Fisher's exact test. The chances follow the hypergeometric distribution | Counting every table with the same totals | The chi-square test |
| fixed image · moving image, target · source | the side kept still · the side moved | Registration: from rigid to non-rigid |
| flatten | laying out in one line | Reading CNN architectures |
| Floating-point numbers | Computer decimals | Limits and continuity |
| Floor | Drop everything after the decimal point, ⌊ ⌋ | Pooling and receptive fields |
| Floor function, greatest integer function | The staircase ⌊x⌋ | Limits and continuity |
| focal loss. (1 − p_t)^γ is the modulating factor, γ the focusing parameter | a loss that shrinks easy examples | Class imbalance |
| fold-over | running the other half too | Fractional factorials and confounding |
| forest plot | a picture of intervals stacked on a log scale | Risk, relative risk and odds ratio |
| Forget gate, input gate, output gate | Forget gate, input gate, output gate | RNNs and LSTMs |
| forward pass | making a guess | The training loop: one step, one epoch |
| forward pass | running it forward | Neural networks |
| forward pass, forward propagation | working out values front to back | Backpropagation |
| Forward process, diffusion process, noising | Destroy, forward process | Diffusion models |
| fractional factorial design | a design that tests only part of the combinations | Factorial designs and interaction |
| fractional factorial design, a 2^(k−p) design | an experiment that tests only part of the combinations | Fractional factorials and confounding |
| fractional knapsack problem | The knapsack where items can be cut | Dynamic programming |
| frame rate | frames per second | Video classification: convolution with a time axis |
| frame · clip | one photo of a video · a short piece | Video classification: convolution with a time axis |
| freezing | keeping fixed | Fine-tuning and LoRA |
| freezing, unfreezing | Freeze, unfreeze | Transfer learning and fine-tuning |
| frequency · phase | how many times a wave goes up and down · how far it is shifted | Grokking: generalizing long after memorizing |
| Frequency, wavelength | How fast a wave turns, the length of one turn | Positional encoding |
| Frisch–Waugh–Lovell theorem | The slope seen through what is left after the other inputs | Multiple regression |
| Frobenius norm | square the cell differences, add, take the square root | Fine-tuning and LoRA |
| full rank: the rank equals the smaller of the number of rows and the number of columns | the rank is full | Rank |
| Fully connected layer | A layer that takes every input | Pooling and receptive fields |
| Fully connected layer, dense layer | A layer at the end that connects everything | Convolution and CNNs |
| fully connected layer, dense layer, Linear in PyTorch | layer that links every value | Reading CNN architectures |
Function value. f(a) | The value on the spot | Limits and continuity |
function, f(x) | A rule that gives one output per input | Functions and graphs |
| fundamental theorem of calculus | the slope of the piled-up amount is the rate | Integrals |
| gain | Factor matched to the activation | Weight initialization |
| Gate | Gate | RNNs and LSTMs |
| Gated recurrent unit (GRU), with an update gate and a reset gate | The variant with two gates | RNNs and LSTMs |
| Gaussian elimination, LU decomposition | solving by subtracting rows to clear entries | Cramer's rule |
| Gaussian elimination. If you also clear above each pivot: Gauss–Jordan elimination | solving by removing unknowns | Linear systems and elimination |
| Gaussian kernel | bell shape | t-SNE and UMAP |
| Gaussian mixture model (GMM) | grouping where each cluster learns an ellipse | k-means clustering |
| Gaussian noise, ε (epsilon) | Noise | Diffusion models |
| Gaussian radial basis function (Gaussian RBF), Gaussian kernel | bell-shaped bump | RBF |
| Gaussians with a shared covariance | Bell shapes with the same spread | Linear discriminant analysis (LDA) |
| generalization | does well on data it has never seen | Overfitting and generalization |
| generalization error | how often it is wrong on data it has not seen | Support vector machines |
| generalization error, out-of-sample error | test error | Overfitting and generalization |
| generative adversarial network (GAN) | Training a maker and an inspector against each other | GANs |
| generator (G) | The maker | GANs |
| generator, e.g. C = AB | the rule that picks the runs | Fractional factorials and confounding |
| geodesic distance | distance along the surface | Manifolds |
| Geometric / negative binomial distribution | Tries until the first success / until r successes | Binomial and Poisson distributions |
| Global attention. The kind that looks at only part of it at a time is local attention | Attention that always looks at the whole source | RNNs and LSTMs |
| Global average pooling (GAP) | Average over a whole channel | Pooling and receptive fields |
| global minimum | lowest place of all | Jacobian and Hessian |
| Glorot initialization, Kaiming initialization | Xavier initialization, He initialization | Vanishing and exploding gradients |
| Glorot initialization, Xavier initialization | Xavier | Weight initialization |
| graded relevance / binary relevance | relevance grades / only right or wrong | Retrieval metrics |
| gradient accumulation. Each small batch is a micro-batch | collecting k small batches before one update | Batch size and gradient accumulation |
| Gradient clipping | Putting a cap on the gradient size | RNNs and LSTMs |
| gradient clipping | shrinking a gradient that is too big | Backpropagation |
| gradient clipping. By total length: clipping by norm | cutting the gradient down | Vanishing and exploding gradients |
| gradient descent, first-order optimization | trusting the degree 1 approximation and stepping downhill | Taylor approximation |
| gradient descent, steepest descent | steps the opposite way from the gradient | Partial derivatives and the gradient |
| gradient noise (from stochastic gradients) | noise in the slope | Learning rate schedules |
| gradient, derivative of the loss. In statistics, the psi function (ψ) | how hard a point pulls | Regression losses |
gradient, gradient vector. ∇f | the arrow made of the partial derivatives | Partial derivatives and the gradient |
gradient. ∇f | the arrow made of the partial derivatives | Derivatives and the chain rule |
| gradual unfreezing | Unfreezing one layer at a time from the last | Transfer learning and fine-tuning |
| Graeco-Latin square | Two Latin squares laid over each other to block three directions | Block designs |
| Gram-Schmidt process | making right-angle base arrows | Projection and least squares |
| greedy algorithm | Taking what looks best right now | Greedy algorithms |
| greedy algorithm | taking what looks best right now | Minimum spanning trees |
| greedy choice | The thing picked at each step | Greedy algorithms |
| Greedy decoding | Always taking the top word | Softmax and sampling |
| greedy-choice property | The choice now is part of a best answer | Greedy algorithms |
| Grid search, GridSearchCV | Grid search | Hyperparameter search: grid and random |
| grokking | generalizing long after memorizing | Grokking: generalizing long after memorizing |
| ground truth box | True box | Object detection |
| Group k-fold. One group at a time is leave-one-group-out | Splitting by group | Data splits and leakage |
| group normalization (GN) | normalizing groups of channels | Batch norm and layer norm |
| group, treatment, level / factor | group / what splits the groups | Analysis of variance (ANOVA) |
| Hadamard product, element-wise product | multiplying the numbers in the same spots | Matrix multiplication |
| Haldane-Anscombe correction, zero-cell correction | adding 0.5 to cells when one is 0 | Risk, relative risk and odds ratio |
| half fraction, 2^(k−1) | half of the combinations | Fractional factorials and confounding |
| hallucination | a believable answer that was made up | RAG |
| hallucination | making up something that sounds right but is wrong | Hallucination and evaluating LLMs |
| hallucination | wrong content that sounds right | Transformers and LLMs |
| hard margin | SVM that keeps every point outside the band | Support vector machines |
| harmonic mean. The plain average is the arithmetic mean | flip, average, flip back | Confusion matrix, precision, recall and F1 |
| Hash function; hash value, hash code | The calculation that turns a name into a number, and that number | Hash tables |
| Hash table, hash map. Holding key-value pairs: symbol table, mapping | A table that turns a key into a number to pick a slot | Hash tables |
| Hazard function, hazard rate | Speed of events in the next moment | Survival analysis |
| Hazard ratio (HR) | Ratio of two groups' hazards | Survival analysis |
| hazard ratio (HR) | a ratio of how fast it happens at each moment | Risk, relative risk and odds ratio |
| He initialization, Kaiming initialization | He | Weight initialization |
| head | head | Detector architectures: the R-CNN family and YOLO |
| Heap order, heap invariant | The parent ≤ child rule | Heaps and priority queues |
| Heapify, heap construction | Turn a list into a heap in place | Heaps and priority queues |
| Heapsort | Put everything in and take it out to sort | Heaps and priority queues |
| height · depth. Some books count links instead of levels, which gives one less | Number of levels · which level a node is on | Binary search trees |
| Hessian | Table of how much the bowl curves | Normalization and standardization |
| Hessian | matrix of second derivatives | Response surface methodology |
| Hessian matrix | table of all the bends | Taylor approximation |
| Hessian matrix | the table of second partial derivatives | Partial derivatives and the gradient |
Hessian matrix. H, ∇²f | table of second derivatives | Jacobian and Hessian |
| Hessian-vector product | Hessian × one arrow | Jacobian and Hessian |
| Hibbard deletion | Deleting a two-children node by swapping in its successor | Binary search trees |
| hidden replication | each person's data used for several effects | Factorial designs and interaction |
| Hidden state | State hₜ | RNNs and LSTMs |
| hierarchical clustering, dendrogram | grouping by merging, the tree picture | k-means clustering |
| High precision, low accuracy | A narrow but wrong answer | Confounding and bias |
| hit rate, success@k | is at least one right answer in the top k | Retrieval metrics |
| HNSW (Hierarchical Navigable Small World) graph | Neighbor graph | Vector search |
| Hodges-Lehmann estimator | The median of all pairwise differences | Nonparametric tests |
| Hold-out | Holding part of the data back | Data splits and leakage |
| homogeneity of regression slopes, parallel slopes assumption | the slope is the same in every group | ANCOVA |
| homogeneity of variance, homoscedasticity | similar spread | Analysis of variance (ANOVA) |
| homogeneous coordinates | Adding a 1 to coordinates so shifts become matrices | Linear transformations |
| Homoscedasticity | The spread is even | Correlation and regression |
| Horizontal asymptote | The line across that the curve hugs far out | Limits and continuity |
| Horizontal flip | Flip left-right | Data augmentation |
| Huber loss. Almost the same: Smooth L1 | a loss that joins a square and a line | Regression losses |
| Human-in-the-loop | A person approves | AI agents |
| Hybrid, window attention | A mix of convolution and transformer | Vision Transformer (ViT) |
| Hypergeometric distribution | Distribution when drawn balls are not put back | Binomial and Poisson distributions |
| Hyperparameter | Setting | Hyperparameter search: grid and random |
| Hyperparameters | Settings | Data splits and leakage |
| hyperparameters | settings a person picks, like the degree and λ | Overfitting and generalization |
| ICP (iterative closest point) | pairing with the nearest point, again and again | Registration: from rigid to non-rigid |
| ideal DCG (IDCG) | DCG of the best order | Retrieval metrics |
| identity column, I | the column of all + | Fractional factorials and confounding |
| identity map | The map that leaves everything in place | Linear transformations |
| identity mapping, identity shortcut | a shortcut that adds x unchanged | Residual connections (ResNet) |
| identity matrix | table with 1s on the diagonal | Overfitting and generalization |
| identity matrix | the matrix I that changes nothing | Eigenvalues and eigenvectors |
Identity matrix, I | The do-nothing matrix | Orthogonal matrices and inner product spaces |
Identity matrix. Written I | A matrix that changes nothing | Matrix basics |
identity matrix. Written I | matrix that does nothing | Inverse matrix |
identity matrix. Written I | the matrix that changes nothing | Matrix multiplication |
| IDMC, DMC, DSMB (data and safety monitoring board) | Independent data monitoring committee | Clinical trial design |
| ill-conditioned | has an answer but is nearly impossible to solve | RBF |
| image registration | aligning images | RBF |
| image segmentation | a label for every pixel | Image segmentation |
| Immutable, hashable | A value that cannot change, a value that has a hash value | Hash tables |
| implicit generative model | A model that makes samples but gives no probability | GANs |
| implicit representation | storing as a function | 3D vision: voxels, point clouds and NeRF |
| impurity decrease, information gain | how much a cut lowers the mixing | Decision trees, random forests and boosting |
| impurity. Gini impurity, entropy | how mixed a box is | Decision trees, random forests and boosting |
| in-context learning, few-shot prompting | Prompting only | Transfer learning and fine-tuning |
| in-degree | number of incoming arrows | Topological sort |
| in-order traversal | Walking left, me, right | Binary search trees |
| in-order traversal | walk left, node, right | Red-black trees |
| in-place sort | in place, with no second array | Merge sort and quicksort |
| in-place sort | sorts inside the given array | Elementary sorts |
| Inclusion and exclusion criteria, eligibility | Rules for who can join | Clinical trial design |
| Incomplete block design, balanced incomplete block design (BIBD) | Only some treatments per block | Block designs |
indefinite integral. ∫ f(x) dx | all the antiderivatives together | Integrals |
| Independent | Not affecting each other | Binomial and Poisson distributions |
| Independent | Not affecting each other | Normal distribution |
| Independent | Not affecting each other | Samples, sampling distributions and the standard error |
| Independent | Unrelated | The chi-square test |
| independent | knowing one does not change the other | Probability and Bayes' theorem |
| independent two-sample t-test | two separate groups | The t-test |
| Independent two-sample t-test. Without assuming equal variances: Welch's t-test | Comparing two groups of different people | Repeated measures and crossover designs |
| Indeterminate form | The 0 ÷ 0 form | Limits and continuity |
| Index | A map built ahead of time | Vector search |
| indexing | making documents searchable ahead of time | RAG |
| Indirect prompt injection | Falling for instructions hidden in data | AI agents |
| indirect prompt injection | the model falling for instructions inside a document | RAG |
| Inductive bias | Rules built into the structure | Vision Transformer (ViT) |
| Inference | Using the finished model | Normalization and standardization |
| inference | using a finished model | Dropout |
| inference | using a finished model | Quantization |
inference. Evaluation mode, eval(), in PyTorch | using the finished model | Batch norm and layer norm |
| inflation, I3D | adding a time axis to a 2D filter to make it 3D | Video classification: convolution with a time axis |
| InfoNCE, NT-Xent (normalized temperature-scaled cross entropy) | −log of the probability given to the positive | Self-supervised learning: representations without labels |
| Informed consent / institutional review board (IRB), research ethics committee | Agreement after explanation / ethics committee | Clinical trial design |
| initial transformation, global registration | the rough starting place | Registration: from rigid to non-rigid |
| injective, one-to-one | Different inputs go to different places | Linear transformations |
| Inner product space | A space with a dot product chosen | Orthogonal matrices and inner product spaces |
inner product, scalar product. Written a · b | dot product | Vectors |
| Input schema, JSON Schema | Shape of the values a tool takes | AI agents |
| input, independent variable / output, function value, dependent variable | What goes in / what comes out | Functions and graphs |
| Insertion point | Where a missing value would go | Binary search |
| insertion sort | slot into the sorted part | Elementary sorts |
| instance segmentation. Both together: panoptic segmentation | each object on its own | Image segmentation |
| instance-based learning, non-generalizing learning | remembering the data instead of training | k-nearest neighbors |
| Instruction tuning, supervised fine-tuning (SFT) | Instruction tuning | How LLMs are trained |
integral, definite integral. ∫ₐᵇ f(x) dx | the area you get by cutting thin and adding up | Integrals |
| integrand | the function being integrated | Integrals |
| intention-to-treat (ITT) / per-protocol | analyzing as assigned / only people who finished | Randomization and control groups |
| Intention-to-treat (ITT), full analysis set / per-protocol (PP) analysis | Analysis as assigned / only those who stuck with it | Clinical trial design |
| Interaction | The treatment effect differs by block | Block designs |
| interaction | an effect that depends on another factor | Analysis of variance (ANOVA) |
| interaction plot, profile plot | interaction plot | Factorial designs and interaction |
| Interaction term | A multiplied column | Multiple regression |
| interaction; in epidemiology, effect modification is used in a similar sense | difference of differences | Factorial designs and interaction |
| intercept, y-intercept | height k | Projection and least squares |
| Interim analysis, group sequential design | Looking during the trial | Clinical trial design |
| Interim analysis, peeking | Looking early | Multiple comparisons |
| Internal covariate shift | A later layer's input distribution shifting as earlier layers learn | Normalization and standardization |
| Interpolation | Fill in values between known ones | Vision Transformer (ViT) |
| interpolation | Smoothing the zigzag | Object detection |
| interpolation matrix, kernel matrix | the table of how much the bumps overlap, Φ | RBF |
| interpolation, scattered data interpolation | making a curve (surface) through the points | RBF |
| Interquartile range (IQR) | Width of the middle half | Descriptive statistics |
intersection, written A ∩ B. Its probability is the joint probability | A and B | Probability and Bayes' theorem |
| interval estimate, confidence interval (CI) | range around an estimate | Confidence intervals |
| interval of integration, lower and upper limits | where to start and stop (a, b) | Integrals |
| Intraclass correlation (ICC) | How alike one person's values are | Repeated measures and crossover designs |
| intrinsic dimension | dimension of the surface | Manifolds |
| Invariance | The answer does not change when the input does | Data augmentation |
| Inverse document frequency (idf) | How rare the word is | Keyword and hybrid search |
inverse function, f⁻¹ | The function that goes backward | Functions and graphs |
| inverse matrix | matrix that undoes it | Determinant |
inverse matrix. Written A⁻¹ | the matrix that undoes a change | Matrix multiplication |
inverse matrix. Written A⁻¹, read "A inverse" | matrix that undoes | Inverse matrix |
inverse matrix. Written B⁻¹ | matrix that undoes it | Basis and change of coordinates |
| inversion | a pair in the wrong order | Elementary sorts |
| inverted dropout | scaling survivors by 1 ÷ (1 − p) | Dropout |
| Inverted file index (IVF) | Splitting into cells | Vector search |
| inverted file index (IVF) | searching by splitting into cells | k-means clustering |
| Inverted index. The row for one word is a posting list | Table from words to document numbers | Keyword and hybrid search |
| invertible matrix, nonsingular matrix | matrix that can be undone | Inverse matrix |
| IoU (intersection over union), Jaccard index | Overlap ÷ union | Object detection |
| IoU (intersection over union), Jaccard index | overlap ÷ union | Image segmentation |
| isomorphism | A bijective linear map | Linear transformations |
| isotonic regression | Fitting a staircase that never goes down | Calibration |
| Jacobian | the table of slopes of a layer | Residual connections (ResNet) |
| Jacobian determinant. Some books call only this "the Jacobian" | determinant of the Jacobian, area factor at that spot | Jacobian and Hessian |
| Jacobian matrix | the table that stacks the gradient of each output | Partial derivatives and the gradient |
Jacobian matrix. J, ∂(x, y)/∂(r, θ) | table of all the partial derivatives | Jacobian and Hessian |
| Jeffreys divergence, symmetric KL | KL both ways, added | Data drift and monitoring models in production |
| Jensen-Shannon divergence | How far V sits above −log 4 (how different the two are) | GANs |
| JSON mode | a service's JSON setting | Structured output |
| JSON Schema | a description of the fields and their types | Structured output |
| k-fold cross-validation | taking turns as the validation set | Overfitting and generalization |
| k-fold cross-validation, fold, split | k-fold cross-validation, fold, round | Data splits and leakage |
| k-means++ initialization | spreading out the starting centers | k-means clustering |
| k-nearest neighbor graph | neighbor graph | t-SNE and UMAP |
| k-nearest neighbors (kNN) | deciding with the k closest neighbors | k-nearest neighbors |
| k-nearest neighbors (kNN), nearest neighbor search | Finding the k nearest | Vector search |
| Kahn's algorithm | queue method | Topological sort |
| Kaplan-Meier estimator, product-limit estimator | The staircase curve | Survival analysis |
| kernel size | filter size | Reading CNN architectures |
| kernel trick | computing only K instead of moving the inputs | RBF |
| kernel, null space | Arrows squashed to 0 | Linear transformations |
| kernel: linear, polynomial, rbf, sigmoid | choosing the function φ that maps to more dimensions | Support vector machines |
| Key | The label a word shows | Attention |
| key (K), value (V). The new token's side is the query (Q) | The label and content of an earlier token | Context windows and the KV cache |
| KL divergence (Kullback-Leibler divergence) | the gap left | Label formats |
| KL divergence (Kullback-Leibler divergence), relative entropy | extra surprise from a wrong prediction | Entropy and cross-entropy |
| Knowledge distillation | Teaching a small model with a big model's probabilities | Softmax and sampling |
| knowledge distillation | a small model learning a big model's probabilities | Entropy and cross-entropy |
| knowledge distillation | a small model learns a big model's answers | Quantization |
| knowledge distillation | making a small model that copies a big one | Fine-tuning and LoRA |
| knowledge distillation. The big model is the teacher, the small one the student | teaching a small model with a big model's probabilities | Label formats |
| Kolmogorov-Smirnov test, a two-sample test | KS test | Data drift and monitoring models in production |
| Kruskal-Wallis test | ANOVA with ranks | Analysis of variance (ANOVA) |
| Kruskal-Wallis test, H statistic | Comparing three or more groups by rank | Nonparametric tests |
| Kullback-Leibler (KL) divergence | How different two distributions are | Autoencoders and VAEs |
| Kullback-Leibler (KL) divergence | gap between two lists of chances | t-SNE and UMAP |
| Kullback-Leibler divergence | KL | Data drift and monitoring models in production |
| KV cache | saving the K and V of earlier tokens | Transformers and LLMs |
| KV cache | stored keys and values of earlier tokens | Quantization |
| KV cache (key-value cache) | The stored K and V | Context windows and the KV cache |
| L1 regularization, lasso | Absolute value penalty | Weight decay and L1/L2 regularization |
| L1 regularization, lasso | absolute value penalty | Overfitting and generalization |
| L2 normalization | making the length 1 | Metric learning: learning a distance |
| L2 regularization, ridge regression, weight decay | squared penalty | Overfitting and generalization |
| L2 regularization, ridge, Tikhonov regularization | Squared penalty | Weight decay and L1/L2 regularization |
| label delay | Labels come late | Data drift and monitoring models in production |
| label shift, prior probability shift | The label mix changes | Data drift and monitoring models in production |
| label smoothing | Giving the right answer 1 − ε instead of 1 | Calibration |
| label smoothing | taking some off the answer and sharing it over every class | Label formats |
| late fusion | look at each frame on its own, combine at the end | Video classification: convolution with a time axis |
| Latent diffusion model (LDM) | Diffusion in the smaller space | Diffusion models |
| latent Dirichlet allocation | The other LDA with the same name | Linear discriminant analysis (LDA) |
| Latent space | The space z lives in | Autoencoders and VAEs |
| Latent space, latent | Smaller space, small grid of numbers | Diffusion models |
| latent space, latent representation | coordinates of the unrolled surface | Manifolds |
| Lateral inhibition | Neighbors compete and the weaker one is pushed down | Pooling and receptive fields |
| Latin square | A grid that blocks two directions | Block designs |
| layer normalization | setting each row to mean 0 and size 1 | Transformers and LLMs |
| Layer normalization (LN) | Rescaling within one example | Normalization and standardization |
| layer normalization (LN) | normalizing within one example | Batch norm and layer norm |
| leaf, leaf node | an end box with nowhere to go | Decision trees, random forests and boosting |
| Learned positional embedding, absolute position | A table that learns one row per position | Positional encoding |
| Learning curve. Some books use the same name for score versus amount of training data | Loss per epoch, plotted | Early stopping and reading learning curves |
| Learning rate | Step size | Logistic regression |
| Learning rate | Step size η | Weight decay and L1/L2 regularization |
| learning rate | Step size | Embedding models: one vector per sentence |
| learning rate | how far one update moves | The training loop: one step, one epoch |
| learning rate | step size | Backpropagation |
| learning rate | step size | Gradient descent |
| learning rate | step size | Neural networks |
| learning rate (η) | the size of a step | Batch size and gradient accumulation |
| learning rate (η, lr), step size | size of one step | Learning rate schedules |
| learning rate schedule, scheduler | a rule that sets the learning rate at each step | Learning rate schedules |
| learning rate, shrinkage | the small share added each time | Decision trees, random forests and boosting |
| learning rate, step size | step size η | Jacobian and Hessian |
| Learning rate, step size (α) | Learning rate | Reinforcement learning |
learning rate, step size. η | step size | Partial derivatives and the gradient |
| learning rate. η | step size | Taylor approximation |
| least squares | make the sum of squared misses as small as possible | RBF |
| least squares | the line with the smallest squared error | Regression losses |
| least squares line, regression line | best-fit line | Projection and least squares |
| Leave-one-out (LOO) | Leaving one out at a time | Data splits and leakage |
| left / right Riemann sum | left end / right end | Integrals |
| left rotation, right rotation | rotate left, rotate right | Red-black trees |
| left singular vectors | the two output directions u1, u2 | Singular value decomposition |
Left-hand limit / right-hand limit. lim x→a⁻, lim x→a⁺ | The value from the left / from the right | Limits and continuity |
| left-leaning red-black BST (LLRB) | left-leaning red-black tree | Red-black trees |
| Legendre polynomials. Polynomials that are orthogonal to each other between −1 and 1 | Legendre polynomials | Overfitting and generalization |
| Length extrapolation | Using a model on text longer than in training | Positional encoding |
| level | a value a factor can take | Factorial designs and interaction |
| Lexical search, sparse retrieval, full-text search | Keyword search | Keyword and hybrid search |
| lg n (log base 2) | log₂ n | Red-black trees |
| LIFO, last in first out | stack (newest out first) | Graph search: BFS and DFS |
| likelihood | chance of this evidence if that case is true | Probability and Bayes' theorem |
| likelihood ratio (LR+, LR−). LR+ ÷ LR− is the diagnostic odds ratio | how much one result multiplies the "disease : no disease" ratio | Diagnostic tests and the ROC curve |
limit. lim h→0 | as h gets closer to 0 | Derivatives and the chain rule |
Limit. lim x→a f(x) | The value it is heading for | Limits and continuity |
| linear approximation, linearization | up close, it is a matrix | Jacobian and Hessian |
| linear combination | stretch, then add | Linear combinations and span |
| linear combination | stretching and adding | Basis and change of coordinates |
| linear combination | stretching and adding | Rank |
| linear combination. Reading A by columns is the column picture | building b from multiples of the columns | Cramer's rule |
| linear discriminant analysis (LDA), Fisher's linear discriminant | The method on this page | Linear discriminant analysis (LDA) |
| linear equation | an equation where x and y are only multiplied by numbers and added | Linear systems and elimination |
| linear evaluation, linear probing | freeze the encoder, train only a linear classifier | Self-supervised learning: representations without labels |
| linear function | A straight-line function | Functions and graphs |
| linear projection | squashing in straight lines | Manifolds |
| linear projection, principal component analysis (PCA) | squashing along straight lines | t-SNE and UMAP |
| linear scaling rule | raising the learning rate with the batch | Batch size and gradient accumulation |
| linear search · binary search | one by one from the front · cutting in half | Time complexity (Big O) |
| Linear search, sequential search | Check from the front, one by one | Binary search |
| linear transformation | changing the plane | Determinant |
| linear transformation | changing the plane | Matrix multiplication |
| Linear transformation (linear map) | A rule from n dimensions to m dimensions | Matrix basics |
| linear transformation, linear map | A function that keeps sums and scaling | Linear transformations |
| linear, affine transformation | Straight line (only multiply and add) | Activation functions |
| linearly dependent | lying on one line (something is extra) | Basis and change of coordinates |
| linearly dependent | one can be made from the others | Linear combinations and span |
| linearly independent | columns that do not repeat each other | Rank |
| linearly independent | none can be made from the others | Linear combinations and span |
| linearly independent | nothing is extra | Basis and change of coordinates |
| Linearly separable | Can be split by one straight line | Logistic regression |
| linearly separable | splittable by one straight line | Neural networks |
| link, arc (when it has a direction) | edge | Graph search: BFS and DFS |
| LLM | large language model | Transformers and LLMs |
| LLM-as-a-judge | having an LLM grade answers | Hallucination and evaluating LLMs |
| LLM-as-a-judge | using an LLM as the grader | Retrieval metrics |
| Lloyd's algorithm | the two steps, repeated | k-means clustering |
| lo, hi, mid (low, high, middle) | Left end, right end and middle of the range | Binary search |
| Load factor (α) | How full it is | Hash tables |
| local gradient | a box's own slope | Backpropagation |
| local gradient. With many values, the Jacobian matrix | a layer's ratio | Vanishing and exploding gradients |
| local minimum | lowest only in its neighborhood | k-means clustering |
| local minimum | stopping in the wrong place | Registration: from rigid to non-rigid |
| local minimum / local maximum | bottom / top | Derivatives and the chain rule |
| local minimum / local maximum | bottom / top | Jacobian and Hessian |
| Local response normalization (LRN) | Neighboring channels press each other down | Pooling and receptive fields |
| Locality | Nearby first | Vision Transformer (ViT) |
| log-odds, logit | the log of the odds | Risk, relative risk and odds ratio |
| Log-rank test, Mantel-Cox test | Comparing two curves | Survival analysis |
| Log-uniform distribution, loguniform | Sampling evenly on a log scale | Hyperparameter search: grid and random |
logarithm, log_b x | How many times you multiplied | Functions and graphs |
| logarithm. With base e, the natural logarithm (ln) | how many times you multiply | Entropy and cross-entropy |
| Logarithmic scale | A scale where each step is 10 times bigger | Limits and continuity |
| logarithmic scale | A scale where equal steps mean equal multipliers | Functions and graphs |
| Logarithmic time, O(log n) | Double the cells, one more look | Binary search |
| Logit | Score | Softmax and sampling |
| logit | The score before it becomes a probability | Calibration |
| logit | score | Label formats |
| Logit, log-odds | Score z | Logistic regression |
| logits | scores from the final linear layer | Transformers and LLMs |
| logits | the scores before softmax | Structured output |
| loop, circuit | cycle | Graph search: BFS and DFS |
| LoRA (Low-Rank Adaptation) | training the change as a product of two small matrices | Fine-tuning and LoRA |
| LOSO (leave-one-site-out); leaving a person out is leave-one-subject-out. LeaveOneGroupOut in scikit-learn | Leaving a whole site out | Data splits and leakage |
| loss | The value to make small | Embedding models: one vector per sentence |
| loss function, cost function | wrongness as one number | Regression losses |
| loss, cost, objective function | how wrong the answer is | Backpropagation |
| loss, loss function | how wrong the model is | Entropy and cross-entropy |
| loss, objective function | height | Gradient descent |
| loss. The one used here is binary cross-entropy | how wrong it is | Neural networks |
| lost in the middle | Losing the middle | Context windows and the KV cache |
| Lost to follow-up, dropout | Lost contact, result unknown | Clinical trial design |
| low-rank approximation, truncated SVD | dropping the small ones | Singular value decomposition |
| Lower bound (bisect_left), upper bound (bisect_right) | First spot where a condition turns true | Binary search |
| LRN | local response normalization | Reading CNN architectures |
| LU decomposition, LU factorization | keeping the elimination record as two matrices | Linear systems and elimination |
| m by n matrix | Size m×n | Matrix basics |
| Maclaurin series | a Taylor series centered at 0 | Taylor approximation |
| macro average | score each class, then average | Confusion matrix, precision, recall and F1 |
| macro-average | averaging with every question weighted the same | Retrieval metrics |
magnitude, norm. Written ‖a‖ | length | Cross product |
magnitude, norm. Written ‖a‖ | length | Vectors |
magnitude, norm. Written ‖a‖ or ‖a‖ | length | Dot product |
| Main diagonal | Entries from top left to bottom right | Matrix basics |
| main effect | the average effect | Factorial designs and interaction |
| majority class, minority class | common class, rare class | Class imbalance |
| majority vote, uniform weights · distance weights | one vote per neighbor · 1 ÷ distance votes | k-nearest neighbors |
| manifold | a surface that is flat up close and curved as a whole | Manifolds |
| manifold hypothesis | the idea that data gathers near a narrow surface | Manifolds |
| manifold learning, nonlinear dimensionality reduction | methods that unroll a curved surface | Manifolds |
| manifold, nonlinear structure | curved shape | t-SNE and UMAP |
| Mann-Whitney U statistic | The number of pairs where A is bigger | Nonparametric tests |
| Mann-Whitney U test, Wilcoxon rank-sum test, Wilcoxon-Mann-Whitney test | Comparing two groups by rank | Nonparametric tests |
| Many-to-one, one-to-many, many-to-many | Input and output shape (many → one, one → many, many → many) | RNNs and LSTMs |
| mAP (mean average precision) | AP averaged over types | Object detection |
| map, mapping, function | A rule that assigns one element to each element | Linear transformations |
| margin | margin, the band | Support vector machines |
| margin | the slack a different thing must keep | Metric learning: learning a distance |
| margin boundary | edge of the band | Support vector machines |
| margin of error | Half-width of a confidence interval | Sample size calculation |
| margin of error | half-width | Confidence intervals |
| marginal probability, evidence. Adding up the two ways is the law of total probability | overall chance of the evidence | Probability and Bayes' theorem |
| Marginal totals, grand total (N) | Row totals, column totals, overall total | The chi-square test |
| marked[] array, visited set | visited mark | Graph search: BFS and DFS |
| mask, drawn from a Bernoulli distribution | the keep/drop pattern m | Dropout |
| mask, instance segmentation | mask, painting each object separately | Detector architectures: the R-CNN family and YOLO |
| mask, segmentation map | painted map | Image segmentation |
| mask, token mask | the table m | Structured output |
| masked autoencoder (MAE) | hide, then rebuild | Self-supervised learning: representations without labels |
| Masked language modeling (MLM) | Guess the hidden word | How LLMs are trained |
| masked language modeling / next-token prediction | Guess the hidden words / guess the next token | Encoders and decoders: three kinds of transformer |
| masked self-attention, causal mask | Self-attention that looks only back | Encoders and decoders: three kinds of transformer |
| masking ratio · mask token | the share hidden · the vector meaning "hidden spot" | Self-supervised learning: representations without labels |
| Matched pairs design. Analyzed with the paired t-test | A block of size 2 | Block designs |
| Matrix | A table of numbers across and down | Matrix basics |
| matrix | numbers laid out in a rectangle | Matrix multiplication |
| matrix multiplication | multiplying matrices | Inverse matrix |
| matrix of a linear transformation, standard matrix | The matrix with T(e₁), T(e₂) as columns | Linear transformations |
| Max iterations, stopping condition | Step limit | AI agents |
| Max pooling | Keep the biggest of four cells | Convolution and CNNs |
| max pooling | largest value in each slot | 3D vision: voxels, point clouds and NeRF |
| Max pooling, average pooling | Keep the largest, keep the average | Pooling and receptive fields |
| Max sequence length, context window | The most text a model takes at once | Chunking |
| max tokens | the limit on how long the answer can be | Structured output |
| Maximum likelihood estimation (MLE) | Finding the coefficients that make the data most likely | Logistic regression |
| maximum softmax probability | Confidence | Data drift and monitoring models in production |
| MCP (Model Context Protocol) | Standard way to connect tools | AI agents |
| mean absolute error (MAE), L1 loss | average error size | Regression losses |
| mean reciprocal rank (MRR) | average of RR | Retrieval metrics |
| Mean square (MS) | Sum of squares ÷ degrees of freedom | Block designs |
| mean square (MS): MSB, MSW (MSE) | sum of squares ÷ degrees of freedom | Analysis of variance (ANOVA) |
| mean squared error (MSE) | average of (actual − curve)² | Overfitting and generalization |
| mean squared error (MSE) | sum of squares ÷ number of points | Projection and least squares |
| mean squared error (MSE), L2 loss | average squared error | Regression losses |
| Mean squared error (MSE), loss | Squared and averaged error | Diffusion models |
| Measurement bias, information bias, misclassification | Tilt from measuring wrong | Confounding and bias |
| mechanistic interpretability | making a model's computation readable | Grokking: generalizing long after memorizing |
| median | middle value when lined up by size | The t-test |
| median | the middle value | Regression losses |
| Median / mode | Value in the middle / most frequent value | Descriptive statistics |
| Median survival time | When the curve first reaches 50% or less | Survival analysis |
| median-of-three | the middle one of three values | Merge sort and quicksort |
| Mediator | A factor that carries the effect in between | Confounding and bias |
| memoization, top-down | Recurse from the top and write answers down | Dynamic programming |
| Memorization | Returning the data as is | Diffusion models |
| memorization · circuit formation · cleanup | the three phases | Grokking: generalizing long after memorizing |
| merge | merging | Fine-tuning and LoRA |
| merge, mergesort | joining two sorted lists | Merge sort and quicksort |
| merges, merge table | merge rules | Tokenization |
| mesh, vertex, face | corners and triangle faces | 3D vision: voxels, point clouds and NeRF |
| Metadata | Extra information attached to a chunk | Chunking |
| Metadata filtering | Narrowing the search by that information | Chunking |
| Metadata filtering. Filtering first is pre-filtering, filtering after is post-filtering | Filtering | Vector search |
| metric learning, distance metric learning | learning a distance | Metric learning: learning a distance |
| micro average | add up all counts, then score once | Confusion matrix, precision, recall and F1 |
| midpoint rule | middle | Integrals |
| Min-max normalization, min-max scaling | Squeezing into 0 to 1 | Normalization and standardization |
| min_delta | Smallest drop that counts as better | Early stopping and reading learning curves |
| Mini-batch | Small group of examples | Normalization and standardization |
| mini-batch | a bundle of data points | Backpropagation |
| mini-batch | batch, batch size | The training loop: one step, one epoch |
| mini-batch, batch | the group of examples behind one update | Batch size and gradient accumulation |
| mini-batch. Its size is the batch size | a batch | Batch norm and layer norm |
| minibatch stochastic gradient descent (minibatch SGD). In the narrow sense, B = 1 is stochastic gradient descent (SGD), and the whole data set is batch gradient descent | gradient descent on batches | Gradient descent |
| minibatch stochastic gradient descent (minibatch SGD). In the narrow sense, batch 1 is SGD and the full batch is batch gradient descent | gradient descent with batches | Batch size and gradient accumulation |
| Minimal clinically important difference (MCID) | The smallest difference worth caring about | Clinical trial design |
| minimax game, adversarial training | A contest where one side pushes up and the other pushes down | GANs |
| minimum / local minimum | bottom / shallow valley | Gradient descent |
| minimum spanning forest | one tree for each piece of a graph in pieces | Minimum spanning trees |
| minimum spanning tree (MST) | Lines that connect every point as short as possible | Greedy algorithms |
| minimum spanning tree (MST) | spanning tree with the smallest total | Minimum spanning trees |
| minor, Mᵢⱼ | determinant left after crossing out a row and a column | Cramer's rule |
| Missing data, dropout | Missing values, people who stop coming | Repeated measures and crossover designs |
| Mixed model, mixed-effects model. Each person's base level is a random intercept | A model that gives each person their own base level | Repeated measures and crossover designs |
mixed partial derivative. f_xy, ∂²f/∂x∂y | derivative by x, then by y | Jacobian and Hessian |
| mixed precision | train with 16 and 32 bits mixed | Quantization |
| mixed precision. The multiply-then-divide trick is loss scaling | computing with a mix of 16-bit and 32-bit numbers | Batch size and gradient accumulation |
| mixup | Blending two pictures | Data augmentation |
| MLP, feed-forward network (FFN) | small neural network | Transformers and LLMs |
| modality | a kind of data (image, text, sound) | Multimodal learning: how CLIP puts images and text in one space |
| mode | Peak | GANs |
| Mode collapse | Making only a few kinds of output again and again | Autoencoders and VAEs |
| mode collapse | Making only a few kinds | GANs |
| Model dimension (d_model) | Number of dimensions d | Positional encoding |
| model dimension, hidden size (d_model) | dimensions | Transformers and LLMs |
| model monitoring | Monitoring | Data drift and monitoring models in production |
model.train(), model.eval() | training mode, evaluation mode | The training loop: one step, one epoch |
| modular addition, modular arithmetic | clock arithmetic | Grokking: generalizing long after memorizing |
| Modular hashing | Picking the slot by the remainder | Hash tables |
| momentum coefficient (momentum) | inertia | Gradient descent |
| momentum. Not the same meaning as momentum in optimizers | the 0.1 mixing rate | Batch norm and layer norm |
| Monotone predicate | A condition that is true from some point on | Binary search |
| Monte Carlo dropout | keeping dropout on at inference and running many times | Dropout |
| Monte Carlo integration | estimating with random points | Integrals |
| Monte Carlo simulation | Running the study many times on made-up data | Sample size calculation |
| Multi-agent system | Splitting work across agents | AI agents |
| Multi-armed bandit | The row of slot machines problem | Reinforcement learning |
| multi-class classification | picking one of the four | Label formats |
| multi-head attention | attention with several heads | Encoders and decoders: three kinds of transformer |
| Multi-head attention, head | Several side by side | Attention |
| multi-label classification. The answer bar is multi-hot | is each one there or not | Label formats |
| Multicollinearity | Inputs that look too much alike | Multiple regression |
| multilayer perceptron (MLP), fully connected network, feedforward network | this page's stacked network | Neural networks |
| multimodal learning | handling different kinds of data together | Multimodal learning: how CLIP puts images and text in one space |
| multiple comparison correction, Bonferroni correction | Stricter thresholds for many tests | Data drift and monitoring models in production |
| Multiple comparisons, multiple testing | Running many tests | Multiple comparisons |
| Multiple linear regression | Regression with several inputs | Multiple regression |
| Multiple regression / partial regression coefficient | Regression with several x values / the slope holding the others fixed | Correlation and regression |
| multiply-adds, FLOPs (papers count them slightly differently) | number of multiply-adds | Reading CNN architectures |
| multivariable chain rule | the chain rule that adds the parts from split paths | Partial derivatives and the gradient |
| multivariate test (MVT) | multivariate test on the web | Factorial designs and interaction |
| mutually exclusive, disjoint | cannot both happen | Probability and Bayes' theorem |
| N-Queens problem | Placing queens | Backtracking |
n-th derivative. f⁽ⁿ⁾ | the derivative taken n times | Taylor approximation |
| nabla, del | the ∇ sign | Partial derivatives and the gradient |
| naive Bayes | a Bayes classifier that treats words as independent | Probability and Bayes' theorem |
| NaN | not a number | Batch norm and layer norm |
| NaN, inf | not a number, infinity | Vanishing and exploding gradients |
| natural history, natural course | getting better anyway | Randomization and control groups |
| Natural logarithm and the exponential function, inverse functions of each other | ln and e^ (a pair that undo each other) | Logistic regression |
natural logarithm, ln x | The logarithm with base e | Functions and graphs |
| nearest neighbor search, k-NN | finding the few closest | Embeddings |
| nearest-neighbor interpolation, bilinear interpolation | copy the nearest cell, weighted average of neighbors | Image segmentation |
| negative cycle | loop whose lengths add up to a negative number | Dijkstra's algorithm |
| Negative log-likelihood (NLL), cross-entropy | −ln of the probability given to the right token | How LLMs are trained |
| negative log-likelihood (NLL), cross-entropy | Average −log of the probability given to the real answer | Calibration |
| negative log-likelihood (NLL), log loss | −log of the chance given to the right answer | Entropy and cross-entropy |
| negative predictive value (NPV) | share of healthy people among the negatives | Diagnostic tests and the ROC curve |
| neighbor list | adjacency list | Graph search: BFS and DFS |
| Nested cross-validation | Cross-validation inside cross-validation | Data splits and leakage |
| Nested cross-validation ("cross-validation inside cross-validation" on the data splits page) | Nested cross-validation | Hyperparameter search: grid and random |
| neural radiance field (NeRF) | network that holds a scene | 3D vision: voxels, point clouds and NeRF |
| neuron, unit | Unit | Weight initialization |
| Newton's method | jumping to where the paraboloid is flat | Jacobian and Hessian |
| Newton's method | moving to the vertex of the parabola, again and again | Taylor approximation |
| Next-token prediction, causal language modeling, autoregressive model | Guessing the next token | How LLMs are trained |
| Node, root, leaf | Node, empty board, full board | Backtracking |
| node, split, threshold | one question, its threshold | Decision trees, random forests and boosting |
| noise, latent variable | A bundle of random numbers z | GANs |
| non-convergence | The two chase each other and never settle | GANs |
| Non-differential / differential misclassification | Wrong the same way in each group / differently | Confounding and bias |
| Non-inferiority margin, equivalence margin | The margin M | Clinical trial design |
| Non-informative censoring, independent censoring | Censoring unrelated to the event | Survival analysis |
| non-maximum suppression (NMS) | Removing duplicate boxes | Object detection |
| non-rigid registration, deformable registration, displacement field | a different shift at each spot | Registration: from rigid to non-rigid |
| non-saturating loss | Generator loss that makes log D(G(z)) big | GANs |
| nonlinear structure, manifold | curved shape | Principal component analysis |
| Nonparametric test, distribution-free test | A test that does not assume a bell shape | Nonparametric tests |
| nonparametric tests: Mann–Whitney U, Wilcoxon | tests that compare ranks | The t-test |
| norm | total length of the gradient | Vanishing and exploding gradients |
| Norm, Euclidean norm. Written ‖v‖ | Length | Vectors in n dimensions |
Norm, ‖v‖ | Length | Orthogonal matrices and inner product spaces |
| Normal approximation | Binomial as a bell shape when n is large | Binomial and Poisson distributions |
| normal approximation / calculation with the noncentral t distribution | Calculation treating σ as known / estimating σ | Sample size calculation |
| Normal distribution, Gaussian distribution | Bell-shaped distribution | Normal distribution |
| Normal equations | The equations that set the coefficients | Multiple regression |
| normal equations | AᵀA x = Aᵀb | Projection and least squares |
| normal vector | arrow standing straight out of a surface | Cross product |
| normalization | making the length 1 | Embeddings |
| Normalization, L2 normalization | Making every length 1 | Vector search |
| normalization. A vector of length 1 is a unit vector | making the length 1 | Dot product |
| normalized DCG (nDCG) | DCG ÷ IDCG | Retrieval metrics |
| novel view synthesis | drawing from a new angle | 3D vision: voxels, point clouds and NeRF |
| Nuisance factor | Something that shakes the result but is not of interest | Block designs |
| Null distribution | The distribution of values you would see with no effect | Hypothesis testing and the p-value |
| Null hypothesis (H₀) | The "unrelated" assumption used as a baseline | The chi-square test |
| Null hypothesis (H₀) | The assumption "no difference" | Hypothesis testing and the p-value |
| null hypothesis (H₀) | the idea that the two means are equal | The t-test |
| null hypothesis (H₀) / alternative hypothesis (H₁) | all means are equal / at least one is different | Analysis of variance (ANOVA) |
| null hypothesis (H₀) / alternative hypothesis (H₁) | the "no effect" assumption / the "there is an effect" assumption | Type I and type II errors, and statistical power |
| Null hypothesis / null distribution | Assuming the groups are the same / the distribution of the statistic then | Nonparametric tests |
| null link (counted as black) | empty spot | Red-black trees |
| null space, kernel | every answer to A·x = 0 | Vector spaces and subspaces |
| null space, kernel | inputs that vanish to 0 | Rank |
| nullity | dimension of the null space | Rank |
| number needed to treat (NNT). For harm, some write NNH (number needed to harm), but the Cochrane Handbook says it can mislead and suggests NNTB and NNTH (number needed to treat for one more beneficial or harmful outcome) | one in how many | Risk, relative risk and odds ratio |
| number of compares (comparisons) | how many compares | Merge sort and quicksort |
number of dimensions (ndim), rank. Not the rank of a matrix | the number of axes | Tensors and shapes: axes, shape and broadcasting |
| number of events, hazard ratio (HR) | Number of events, ratio of risks over time | Sample size calculation |
| Number of probes. Some libraries call it nprobe | Cells to check | Vector search |
| numerical differentiation, finite difference | computing directly with a small h | Derivatives and the chain rule |
| numerical differentiation, finite differences | nudging weights one at a time | Backpropagation |
| numerical integration, quadrature | adding bars with a computer | Integrals |
| O(n log n), O(n²); linearithmic, quadratic | n·log n, n² | Merge sort and quicksort |
| O(n²), quadratic time | double n, four times the work | Elementary sorts |
| object detection | Finding objects | Object detection |
| objective, within-cluster sum of squares, inertia (scikit-learn) | sum of squared distances J | k-means clustering |
| objectness score | objectness score | Detector architectures: the R-CNN family and YOLO |
| Observational study | A study where researchers only watch and do not assign the treatment | Confounding and bias |
| observational study | a study that only watches and records | Randomization and control groups |
| Observed and expected counts | Observed / expected events | Survival analysis |
| Observed frequency | Count O | The chi-square test |
| Odds | Chance it happens ÷ chance it does not | Logistic regression |
| odds | "disease : no disease" ratio | Probability and Bayes' theorem |
| odds | people it happened to ÷ people it did not | Risk, relative risk and odds ratio |
| Odds ratio (OR) | How many times the odds get multiplied when x goes up by 1 (e^b₁) | Logistic regression |
| odds ratio (OR), cross-product ratio | one odds divided by another | Risk, relative risk and odds ratio |
| Off-policy learning | Learning "as if acting best from now on" | Reinforcement learning |
| offline evaluation / online metrics, A/B test | measuring with a ready-made set / measuring with real use | Retrieval metrics |
| Okapi BM25. BM stands for best matching | BM25 | Keyword and hybrid search |
| one-factor-at-a-time (OFAT) | changing one thing at a time | Factorial designs and interaction |
| one-factor-at-a-time (OFAT) | changing one thing at a time | Response surface methodology |
| One-hot vector | An answer with a 1 only in the right slot | Data augmentation |
| one-hot vector | a bar with a 1 in one slot | Label formats |
| one-hot vector | list with 1 only for the right answer | Entropy and cross-entropy |
| one-hot vector | vector with a 1 only in its own slot | Embeddings |
| one-sample t-test | one group against a reference value | The t-test |
| one-sided (one-tailed) test / two-sided (two-tailed) test | a test that looks one way / both ways | Type I and type II errors, and statistical power |
| One-sided limit | A limit looking at only one road | Limits and continuity |
| One-sided test / two-sided test | One direction only / both directions | Hypothesis testing and the p-value |
| one-stage detector, two-stage detector | One-stage, two-stage | Object detection |
| one-stage detector, two-stage detector | one-stage, two-stage | Detector architectures: the R-CNN family and YOLO |
| One-way ANOVA | Analysis ignoring blocks | Block designs |
| Open addressing, linear probing | Finding the next empty slot | Hash tables |
| optical flow, dense optical flow | which way and how far each place moved between frames | Video classification: convolution with a time axis |
| optimal discriminator | The best discriminator D* | GANs |
| optimal solution | The best overall answer | Greedy algorithms |
| optimal substructure | The best small answers build the best big answer | Dynamic programming |
| Optimistic initial values | Starting values that make untried things look good | Reinforcement learning |
| optimizer | the thing that updates the weights | The training loop: one step, one epoch |
| optimizer | way of going down | Gradient descent |
| optimizer · interpolation, bilinear interpolation | the way to adjust the numbers · filling in values between pixels | Registration: from rigid to non-rigid |
| Order effect, practice effect, fatigue effect | Order, practice and tiredness getting mixed in | Repeated measures and crossover designs |
| Ordinal data | Data where only the order means something | Nonparametric tests |
| orientation is reversed | flipped | Determinant |
| orthogonal matrix | a matrix that only turns (sometimes flips), like U and V | Singular value decomposition |
| Orthogonal projection | Shadow | Orthogonal matrices and inner product spaces |
| orthogonal projection | Shadow dropped at a right angle onto a line | Linear transformations |
| orthogonal projection | the point you reach at a right angle, the shadow | Projection and least squares |
| orthogonal projection. Its position number is the principal component score | shadow, the point reached at a right angle | Principal component analysis |
| orthogonal, perpendicular | at a right angle (dot product 0) | Projection and least squares |
| Orthogonal. The dot product is 0 | At right angles | Orthogonal matrices and inner product spaces |
| Orthonormal basis | Base arrows of length 1 at right angles | Orthogonal matrices and inner product spaces |
| orthonormal basis | arrows at right angles with length 1 | Basis and change of coordinates |
| orthonormal basis | base arrows at right angles, each of length 1 | Projection and least squares |
| Outcome switching / HARKing (hypothesizing after the results are known) | Swapping the measure after seeing results / making up the hypothesis after | Clinical trial design |
| Outlier | A far-away value | Normalization and standardization |
| Outlier | A value far from the rest | Descriptive statistics |
| outlier | a far-off point | Projection and least squares |
| outlier | a value far from the rest | Regression losses |
| outlier | far-away value | Quantization |
| Outlier / high-leverage point, influential point | A stray point / a point alone that sets the line | Correlation and regression |
| outputs (shifted right) | outputs moved one place back | Encoders and decoders: three kinds of transformer |
| Overall type I error rate | Total false alarm chance | Clinical trial design |
| overconfidence | being too sure | Label formats |
| overconfidence / underconfidence | Right less often / more often than it says | Calibration |
| Overdispersion | Variance bigger than the mean | Binomial and Poisson distributions |
| Overfitting | Memorizing the training data | Data augmentation |
| overfitting | fits the training data but gets new data wrong | Overfitting and generalization |
| overfitting | memorizing the training data | Neural networks |
| overfitting · generalization | getting only the training data right · getting unseen data right too | Grokking: generalizing long after memorizing |
| Overlapping pooling | Pooling with overlapping windows | Pooling and receptive fields |
| overlapping pooling | overlapping pooling | Reading CNN architectures |
| overlapping subproblems | The same small problems come up again and again | Dynamic programming |
| oversampling, undersampling, SMOTE | putting in more, using fewer | Class imbalance |
| p-hacking | Trying other paths until something is significant | Multiple comparisons |
| p-hacking, data dredging | Looking many times and keeping the best | Hypothesis testing and the p-value |
| p-value | The area of the right tail | The chi-square test |
| p-value | The chance of a result this extreme | Hypothesis testing and the p-value |
| p-value | chance of a t this big by luck alone | The t-test |
| p_t | probability given to the right class | Class imbalance |
| Padding | Extra cells on the edge, P | Pooling and receptive fields |
| padding · stride | the 0s around the edge · cells moved each time | Video classification: convolution with a time axis |
| Padding, zero padding | A ring of 0s around the image | Convolution and CNNs |
| padding, zero padding | ring of zeros around the edge | Reading CNN architectures |
| Paired data. McNemar's test | Data where the same people are counted twice | The chi-square test |
| paired design / crossover design | Measuring the same people twice / both drugs in turn | Sample size calculation |
| Paired samples / independent samples | Two values from the same person / different people | Nonparametric tests |
| Paired t-test | Comparing before and after in pairs | Repeated measures and crossover designs |
| paired t-test, paired samples | same people before and after, matched pairs | The t-test |
| parallel | pointing along one line | Cross product |
| Parallel coordinates | n vertical axes with one bent line | Vectors in n dimensions |
| Parallel group / crossover / factorial / cluster randomized design | Parallel / crossover / factorial / cluster randomized designs | Clinical trial design |
| parallel, collinear | on one line | Linear combinations and span |
| Parameter | The population's numbers μ, σ, p | Samples, sampling distributions and the standard error |
| Parameter / parametric test | Numbers that set a distribution / a test that assumes them | Nonparametric tests |
| Parameter space: param_grid for a grid, param_distributions for random search | Parameter space | Hyperparameter search: grid and random |
| Parameter, weight | Value training decides | Hyperparameter search: grid and random |
| parameter-efficient fine-tuning (PEFT) | fine-tuning that trains only a few numbers | Fine-tuning and LoRA |
| parameter; for a mean, the population mean μ | true value | Confidence intervals |
| parameters, weights | numbers set by training | Reading CNN architectures |
| parameters, weights | the values that are learned | The training loop: one step, one epoch |
| parameters, weights | values set by training | Transformers and LLMs |
| parametric memory / non-parametric memory | knowledge in the weights / the outside document index | RAG |
| Parent-child retrieval, small-to-big | Search with small chunks, hand over big chunks | Chunking |
| partial derivative. All of them together make the gradient (vector) | the gradient ∂L/∂w | Backpropagation |
partial derivative. ∂f/∂x | the slope when you move only one input | Derivatives and the chain rule |
partial derivative. ∂f/∂x, fx | the slope when you move only one input | Partial derivatives and the gradient |
| partial pivoting | moving the row with the largest number up | Linear systems and elimination |
| Partial regression coefficient, adjusted coefficient | The slope with the other inputs held fixed | Multiple regression |
| partially sorted array | almost sorted input | Elementary sorts |
| partition | moving values to the smaller or larger side | Merge sort and quicksort |
| pass | one round over the array | Elementary sorts |
| Patch | Piece, square piece | Vision Transformer (ViT) |
| Patch embedding, linear projection | Flatten a patch into a vector | Vision Transformer (ViT) |
| path compression | pointing straight at the leader | Minimum spanning trees |
| Patience | How many times to wait, p | Early stopping and reading learning curves |
| Pearson correlation coefficient, r | How closely they move together (−1 to 1) | Correlation and regression |
| Pearson's chi-squared statistic (χ²) | The sum of how far off each cell is | The chi-square test |
| Peek, find-min | Look at the top | Heaps and priority queues |
| per-tensor, per-channel, per-group quantization | one grid per layer, per channel, per group | Quantization |
| percentage points (pp) | percentage points | Risk, relative risk and odds ratio |
| perfect black balance | same number of black links | Red-black trees |
| Period effect | A change everyone gets in the later period | Repeated measures and crossover designs |
| Permutation equivariance | Shuffle the inputs and the outputs come out shuffled the same way | Positional encoding |
| permutation invariance | same answer in any order | 3D vision: voxels, point clouds and NeRF |
| Permutation test, randomization test | Shuffling labels | Hypothesis testing and the p-value |
| Permutation test, randomization test | Shuffling labels | Nonparametric tests |
| Permutation, combination | Orderings, picking some items | Backtracking |
| perpendicular, orthogonal | at a right angle | Cross product |
perpendicular, orthogonal. Written a ⊥ b | at a right angle | Dot product |
| perplexity | about how many neighbors | t-SNE and UMAP |
| perplexity | how many options the model was torn between | Entropy and cross-entropy |
| Perplexity (PPL) | How many tokens it is choosing between | How LLMs are trained |
| Phase 1 to 3 trials, post-marketing surveillance (phase 4) | Phases 1 to 4 | Clinical trial design |
| Pipeline | Preprocessing and model wrapped as one | Data splits and leakage |
| pivot | the value you split around | Merge sort and quicksort |
| pivot, leading entry | first nonzero number in each row | Rank |
| pivot, leading entry | first number in a row that is not 0 | Linear systems and elimination |
| Pixel | Cell | Convolution and CNNs |
| pixel accuracy | right cells ÷ all cells | Image segmentation |
| Placebo | A pill with no active ingredient | Hypothesis testing and the p-value |
| placebo | dummy pill | Type I and type II errors, and statistical power |
| placebo effect / placebo | expectation / a fake without the active ingredient | Randomization and control groups |
| Planning | Writing a to-do list first | AI agents |
| Platt scaling | Fitting a logistic regression on the scores | Calibration |
| point cloud | list of points | 3D vision: voxels, point clouds and NeRF |
| point-to-point · point-to-plane, normal | distance between partners · distance straight out of the surface | Registration: from rigid to non-rigid |
| Pointwise confidence interval, Greenwood's formula | Band worked out at each time | Survival analysis |
| Poisson approximation | Binomial as Poisson when n is large and p small | Binomial and Poisson distributions |
| Poisson distribution | Distribution of counts in a fixed stretch of time or area | Binomial and Poisson distributions |
| Policy (π) | Rule for which action to take in each state | Reinforcement learning |
| Policy gradient, REINFORCE, actor-critic | Changing action probabilities directly | Reinforcement learning |
| polygonal approximation of arc length | adding short straight lines in order | Manifolds |
| Pooling window, kernel size | Window, window size K | Pooling and receptive fields |
| Pooling, downsampling | Shrink by summing up each window | Pooling and receptive fields |
| pooling, max pooling, subsampling | shrinking | Reading CNN architectures |
| pooling. Mean pooling, CLS pooling | Gathering many rows into one | Embedding models: one vector per sentence |
| Population | The whole group you want to know about | Samples, sampling distributions and the standard error |
| population / sample | the whole group / the few people picked | Confidence intervals |
| population stability index | PSI | Data drift and monitoring models in production |
| Population variance (σ²) / sample variance (s²) | Variance divided by n / by n − 1 | Descriptive statistics |
| Population variance / sample variance | Variance divided by n / by n − 1 | Normal distribution |
| position bias, verbosity bias, self-enhancement bias | judge leans (position, length, its own answers) | Hallucination and evaluating LLMs |
| Position embedding | Vector added for each place | Vision Transformer (ViT) |
| Positional encoding | Position information | Attention |
| Positional encoding, position embedding | A vector that says which position | Positional encoding |
| positional encoding. Learned ones: learned positional embedding. Rotating ones: RoPE (rotary position embedding) | position numbers | Transformers and LLMs |
| positive definite | the matrix property that guarantees one answer | RBF |
| positive definite / positive semidefinite | all eigenvalues + / all 0 or more | Jacobian and Hessian |
| positive likelihood ratio | sensitivity ÷ (1 − specificity) | Probability and Bayes' theorem |
| positive pair · negative | Pair · non-pair | Embedding models: one vector per sentence |
| positive pair · negative pair | a pair to pull together · the rest to push apart | Multimodal learning: how CLIP puts images and text in one space |
| positive predictive value (PPV) | chance of disease after a positive result | Probability and Bayes' theorem |
| positive predictive value (PPV) | the share of significant results that are real | Type I and type II errors, and statistical power |
| positive predictive value (PPV), precision | share of sick people among the positives | Diagnostic tests and the ROC curve |
| post hoc comparison, multiple comparisons | comparing pairs to see which group differs | Analysis of variance (ANOVA) |
| Post hoc comparisons | Pair comparisons after ANOVA | Multiple comparisons |
| post hoc power, observed power | Power calculated after the study | Sample size calculation |
| post hoc power, observed power | power computed from the observed result afterwards | Type I and type II errors, and statistical power |
| Post-LN, Pre-LN | normalize after adding, add after normalizing | Residual connections (ResNet) |
| post-training quantization (PTQ) | quantize after training | Quantization |
| posterior probability, posterior | belief after the evidence | Probability and Bayes' theorem |
| postorder | finishing order | Topological sort |
| potential outcomes, Y(1) and Y(0) | the result if treated / the result if not treated | Randomization and control groups |
| Power | Chance of finding a real effect | Multiple comparisons |
| Power / asymptotic relative efficiency | The ability to find a difference / the efficiency ratio of two tests with big samples | Nonparametric tests |
| power analysis, sample size calculation | working out n before the experiment | Type I and type II errors, and statistical power |
| power function | x multiplied by itself n times | Functions and graphs |
| power iteration, power method | multiplying many times to find the biggest direction | Eigenvalues and eigenvectors |
| PR curve, precision-recall curve | curve of (recall, precision) as the threshold goes down | Confusion matrix, precision, recall and F1 |
| pre-activation, logit (at the output layer) | The weighted sum z | Activation functions |
| pre-test probability (prior probability), post-test probability (posterior probability) | chance of disease before the test, after the test | Diagnostic tests and the ROC curve |
| pre-tokenization | splitting at spaces first | Tokenization |
| Pre-training | The first big round of training | How LLMs are trained |
| Pre-training | Train first on a large dataset | Vision Transformer (ViT) |
| pre-training | the first big training | Fine-tuning and LoRA |
| pre-training / fine-tuning | big first training / extra training | Transformers and LLMs |
| pre-training · fine-tuning | learn broadly first · learn a little more for the job | Self-supervised learning: representations without labels |
| pre-training · transfer learning | learn on big data first · carry it over | Video classification: convolution with a time axis |
| pre-training, pretrained model | Training on a big dataset first, and the model you get | Transfer learning and fine-tuning |
| Precision / recall | Right among those called 1 / caught among the real 1s | Logistic regression |
| precision, positive predictive value | of what was called positive, the share that was right | Confusion matrix, precision, recall and F1 |
| precision, recall | Precision, recall | Object detection |
| precision-recall (PR) curve, average precision | the precision and recall curve and its area | Class imbalance |
| precision-recall curve (PR curve) | (recall, precision) curve | Diagnostic tests and the ROC curve |
| precision-recall curve / interpolated precision | precision-recall curve / the smoothed one | Retrieval metrics |
| precision. Cut at the top k: precision@k (P@k) | share of what you fetched that is right | Retrieval metrics |
| predecessor (edgeTo[v]) | previous node | Dijkstra's algorithm |
| prefill / decode | Processing the input in one pass / making one token at a time | Context windows and the KV cache |
| Preregistration | Publishing the plan in advance | Multiple comparisons |
| Preregistration | Writing the plan down first | Hypothesis testing and the p-value |
| pretext task | a practice problem set on purpose to learn a representation | Self-supervised learning: representations without labels |
| prevalence | share of sick people in the tested group | Diagnostic tests and the ROC curve |
| prevalence, base rate | share of people with the disease | Probability and Bayes' theorem |
| primal problem | primal problem | Support vector machines |
| Primary endpoint / secondary endpoints | The result that decides the conclusion / the other results | Clinical trial design |
| Primary endpoint, primary outcome | Main outcome chosen in advance | Multiple comparisons |
| principal component | Direction of widest spread | Linear discriminant analysis (LDA) |
| principal component analysis (PCA) | finding the directions where data spreads the most | Singular value decomposition |
| principal component analysis (PCA) | the method that finds them | Principal component analysis |
| principal components (PC) | new axes, picked from the most spread out direction down | Principal component analysis |
| Prior | The standard normal N(0, 1) | Autoencoders and VAEs |
| prior probability, prior | belief before the evidence | Probability and Bayes' theorem |
| Priority queue | A box that gives the smallest (most urgent) item first | Heaps and priority queues |
| priority queue | a queue that hands out the cheapest item | Minimum spanning trees |
| priority queue, heap | structure that pulls out the smallest item fast | Dijkstra's algorithm |
| probability | how likely, from 0 to 1 | Probability and Bayes' theorem |
| probability density | the height of a probability curve | Integrals |
| Probability density, probability density function (PDF). For discrete bars: probability mass function (PMF) | Height of the curve, how crowded it is | Normal distribution |
| Probability distribution | How often each value comes up | Normal distribution |
| probability distribution | list of chances for each outcome | Entropy and cross-entropy |
| Probability mass function (PMF) | Probability of each k (the bar heights) | Binomial and Poisson distributions |
| Probability of superiority, common-language effect size, AUC | The chance that a value from one side is bigger | Nonparametric tests |
| Product quantization (PQ) | Compressing | Vector search |
| projection | Drop onto a line | Linear discriminant analysis (LDA) |
| projection | shadow | Dot product |
| projection | shadow | Vectors |
| projection head | the small network g between representation and loss | Self-supervised learning: representations without labels |
| projection shortcut | projection shortcut | Reading CNN architectures |
| projection shortcut, W_s | a shortcut that matches the shape | Residual connections (ResNet) |
| prompt | instructions | Fine-tuning and LoRA |
| prompt caching, prefix | Reusing the same starting text | Context windows and the KV cache |
| prompt template | a sentence pattern to put the class name in | Multimodal learning: how CLIP puts images and text in one space |
| Propensity score | The chance of getting the treatment | Confounding and bias |
| Proportion. The sample proportion is p̂ | The share of yes answers | Samples, sampling distributions and the standard error |
| Proportional hazards assumption | The ratio does not change over time | Survival analysis |
| Protocol / statistical analysis plan (SAP) / trial registration | The plan / the analysis plan / registering in advance | Clinical trial design |
| Pruning | Dropping branches that are already wrong | Backtracking |
| pruning | cutting off branches that do little | Decision trees, random forests and boosting |
| pruning | remove small weights | Quantization |
| pseudo-polynomial time | Time that grows with the size of a number (the limit) | Dynamic programming |
pseudoinverse (Moore-Penrose inverse). Written A⁺ | an "undo" matrix you can use even when there is no inverse | Singular value decomposition |
| Pseudoreplication | Counting similar values as separate | Repeated measures and crossover designs |
| Publication bias | Bias from unpublished bad results | Clinical trial design |
| Publication bias | Tilt from collecting only published studies | Confounding and bias |
| Q-table, tabular method | Table of Q for every cell | Reinforcement learning |
| quadratic approximation, second-order Taylor expansion | paraboloid estimate at that spot | Jacobian and Hessian |
| quadratic discriminant analysis (QDA) | The version with a separate spread per class | Linear discriminant analysis (LDA) |
| quadratic function, parabola | A bowl-shaped function | Functions and graphs |
| quantiles of the standard normal distribution. Some books write z₁₋β | z_α/2, z_β | Sample size calculation |
| quantitative interaction / qualitative (crossover) interaction | only the size differs / the direction flips | Factorial designs and interaction |
| quantization | snap to a grid, store the number | Quantization |
| quantization | writing numbers with fewer bits | Fine-tuning and LoRA |
| quantization error | difference caused by rounding | Quantization |
| quantization-aware training (QAT) | train while feeling the rounding | Quantization |
| Quartiles Q1, Q2, Q3. In general: percentiles, quantiles | Values at the 25%, 50%, 75% positions | Descriptive statistics |
| quasi-Newton methods. BFGS, L-BFGS | methods that use an estimate of the Hessian | Jacobian and Hessian |
| Query | What I am looking for | Attention |
| Query rewriting, query decomposition | Rewriting the query, splitting it into smaller queries | Keyword and hybrid search |
| query, key, value (q, k, v) | Query, key, value | Encoders and decoders: three kinds of transformer |
| queue, dictionary · momentum encoder | the line of keys from past batches · the key encoder that follows slowly | Self-supervised learning: representations without labels |
| radial function | a function that only looks at distance | RBF |
| radius of convergence | radius of the range where adding forever works | Taylor approximation |
| Random access | Jumping straight to a cell by number | Binary search |
| random assignment, randomization | drawing lots to pick the groups | Randomization and control groups |
| Random crop, translation | Shift and crop | Data augmentation |
| random forest | grow separately and vote | Decision trees, random forests and boosting |
| Random seed | Seed | Softmax and sampling |
| random seed, initialization | random number that sets the start | t-SNE and UMAP |
| random seed, initialization | seed, picking starting values | Neural networks |
| random seed, versioning | Seed, data version, model version | Data drift and monitoring models in production |
| Randomization, random assignment | Chance decides the treatment | Confounding and bias |
| Randomized block ANOVA, two-way ANOVA without interaction | Analysis with blocks | Block designs |
| Randomized complete block design (RCBD) | Every treatment once per block, randomized only inside blocks | Block designs |
| Randomized controlled trial (RCT) | A trial split by lottery, with a control group | Clinical trial design |
| randomized controlled trial (RCT) | a trial that splits people by lot | Risk, relative risk and odds ratio |
| randomized controlled trial (RCT) | an experiment that splits by drawing lots and compares | Randomization and control groups |
| Randomized search, RandomizedSearchCV | Random search | Hyperparameter search: grid and random |
| Range | Max − min | Descriptive statistics |
| range | The y values that can come out | Functions and graphs |
| range search, range query | Range search | Binary search trees |
| range, image, column space | Everything that can be reached | Linear transformations |
| Rank | How big compared with the others, as a place number | Nonparametric tests |
| rank | how many dimensions are left | Rank |
| rank | rank | Fine-tuning and LoRA |
| rank | the dimension of what you can reach | Linear combinations and span |
| rank | the number of directions that are not squashed | Singular value decomposition |
| Rank fusion, hybrid search | Combining two rankings | Keyword and hybrid search |
| Rank sum | The ranks of one group added up | Nonparametric tests |
| rank-nullity theorem | rank + null space dimension = number of columns | Rank |
| rank-nullity theorem. dim(kernel) is the nullity, dim(range) is the rank | dim(kernel) + dim(range) = dim(domain) | Linear transformations |
| rare disease assumption | odds ratio ≈ relative risk when the event is rare | Risk, relative risk and odds ratio |
| Rate, the parameter λ (lambda) | Average count | Binomial and Poisson distributions |
| Recall bias | Tilt from people remembering differently | Confounding and bias |
| recall, precision, F1 score | few misses, few false alarms | Class imbalance |
| Recall, recall@k | Share of true neighbors found | Vector search |
| recall, recall@k | share of the right ones that you fetched | Retrieval metrics |
| recall, sensitivity, true positive rate | of the real positives, the share that was found | Confusion matrix, precision, recall and F1 |
| receiver operating characteristic curve | ROC curve | Diagnostic tests and the ROC curve |
| Receptive field | The patch of input one output cell sees | Convolution and CNNs |
| Receptive field | Width of input one output cell sees, r | Pooling and receptive fields |
| reciprocal | number that undoes a number (3 and 1/3) | Inverse matrix |
| reciprocal rank (RR) | 1 ÷ place of the first right answer | Retrieval metrics |
| Reconstruction error | The gap between the rebuilt copy and the original | Autoencoders and VAEs |
| reconstruction error | what is lost (squared drop lengths) | Principal component analysis |
| reconstruction, traceback | Walking back to find what was picked | Dynamic programming |
| rectified linear unit | ReLU | Backpropagation |
| recurrence relation | The formula that fills a cell from earlier cells | Dynamic programming |
| Recurrent neural network (RNN) | A network that reads one step at a time and passes a state on | RNNs and LSTMs |
| Recurrent weight | Recurrent ratio, the weight W on the last state | RNNs and LSTMs |
| recursion, recursion tree | Calling itself, the call tree | Dynamic programming |
| recursion; the depth is the recursion depth | a function calling itself | Merge sort and quicksort |
| Recursive splitting | Trying the biggest boundary first to fit the size | Chunking |
| red link, black link | red link, black link | Red-black trees |
| red-black BST, red-black tree | red-black tree | Red-black trees |
| reduced row echelon form (RREF) | final table with only 1s and 0s on the left | Linear systems and elimination |
| ReduceLROnPlateau, patience | reduce on plateau, how many steps to wait | Learning rate schedules |
| reduction | summing or averaging along an axis | Tensors and shapes: axes, shape and broadcasting |
| reference | right answer text | Hallucination and evaluating LLMs |
| Reference category, baseline | The group without a column | Multiple regression |
| reference distribution, current distribution | Training distribution p, production distribution q | Data drift and monitoring models in production |
| region proposal | proposal box | Detector architectures: the R-CNN family and YOLO |
| region proposals; the network that makes them is the RPN (region proposal network) | Places that might hold an object | Object detection |
| registration, image registration | finding the transform that lays one over the other | Registration: from rigid to non-rigid |
| Regression | Guessing a number | Logistic regression |
| Regression coefficient (slope) / intercept | Slope / intercept | Correlation and regression |
| Regression line, simple linear regression | A line that guesses one measurement from the other | Correlation and regression |
| regression test | test you run on every change | Hallucination and evaluating LLMs |
| Regression to the mean | Coming back toward the average | Repeated measures and crossover designs |
| Regression to the mean | Coming back toward the mean | Correlation and regression |
| regression to the mean | drifting back toward the mean | Randomization and control groups |
| regression to the mean | people who measured high the first time measure less high the next time | The t-test |
| regression tree | a tree that answers a number | Decision trees, random forests and boosting |
| regression · classification | giving a number · giving a group | k-nearest neighbors |
| regression, classification | Predicting a number, picking one option | Activation functions |
| Regularization | A penalty on the weights | Weight decay and L1/L2 regularization |
| Regularization | Methods that hold back overfitting | Data augmentation |
| Regularization | Methods that make a model memorize less | Early stopping and reading learning curves |
| Regularization | Penalty that keeps weights small | Logistic regression |
| regularization | a penalty on the weights | Overfitting and generalization |
| regularization | ways to reduce overfitting | Dropout |
| Regularization coefficient. In code: weight_decay, alpha | Penalty strength λ | Weight decay and L1/L2 regularization |
| regularization parameter (scikit-learn: inverse regularization parameter) | C, regularization strength written the other way round | Support vector machines |
| Regularized incomplete gamma function | The function behind the area under the chi-square curve | The chi-square test |
| Rehashing, resizing | Adding slots and putting everything in again | Hash tables |
| Reinforcement learning (RL) | Learning from trial and reward | Reinforcement learning |
| Reinforcement learning from human feedback (RLHF) | Tuning to human preferences | How LLMs are trained |
| Reject the null hypothesis | Drop the null hypothesis | Hypothesis testing and the p-value |
| rejecting the null hypothesis, statistically significant | saying "there is an effect" | Type I and type II errors, and statistical power |
| Relative efficiency | Blocking's gain measured in variance | Block designs |
| Relative position | How far apart two tokens are | Positional encoding |
| Relative risk (risk ratio) / odds ratio | Ratio of shares / ratio of odds by a fixed time | Survival analysis |
| relative risk reduction (RRR) | 1 − relative risk | Risk, relative risk and odds ratio |
| relative risk, risk ratio (RR). Not to be confused with the hazard ratio of survival analysis | one risk divided by the other | Risk, relative risk and odds ratio |
| relaxation | update if shorter | Dijkstra's algorithm |
| reliability diagram | Chart with an accuracy bar per bin | Calibration |
| ReLU (rectified linear unit) | The line that bends negatives to 0 | Functions and graphs |
| ReLU (rectified linear unit). A bending function like this is called an activation function | Negatives to 0 | Convolution and CNNs |
| Removable / jump / infinite discontinuity | Hole / jump / blow-up | Limits and continuity |
| Renormalization | Sharing the probability again | Softmax and sampling |
| renormalization | dividing by what is left | Structured output |
| Reparameterization trick | Drawing with z = μ + σ·ε | Autoencoders and VAEs |
| repeated eigenvalue | eigenvalue counted twice | Eigenvalues and eigenvectors |
| repeated measures ANOVA | ANOVA when the same people are measured several times | Analysis of variance (ANOVA) |
| Repeated measures, within-subject design. Measured over time: longitudinal data | Measuring the same people more than once | Repeated measures and crossover designs |
| Repeated-measures ANOVA. Its assumption: sphericity | Analysis of variance with several time points | Repeated measures and crossover designs |
| representation, embedding | the features the encoder pulls out | Self-supervised learning: representations without labels |
| Reranking | Putting candidates in order again | Keyword and hybrid search |
| reranking | Re-scoring a short list | Embedding models: one vector per sentence |
| reshape · transpose, permute | splitting into new axes · reordering axes | Tensors and shapes: axes, shape and broadcasting |
| Residual | Actual minus the line's guess | Correlation and regression |
| residual | answer − current prediction | Decision trees, random forests and boosting |
| residual | distance from your own group mean | Analysis of variance (ANOVA) |
| residual | how wrong a point is (actual y − the line's y) | Projection and least squares |
| Residual confounding, unmeasured confounding | Confounding that is left over | Confounding and bias |
| residual connection, shortcut connection | shortcut | Reading CNN architectures |
| residual connection, skip connection | addition path | Transformers and LLMs |
| residual connection, skip connection | path that adds the input back | Vanishing and exploding gradients |
| residual connection, skip connection | shortcut connection | Backpropagation |
| residual connection, skip connection | the path that skips a sublayer | Encoders and decoders: three kinds of transformer |
| residual connection, skip connection, shortcut connection | shortcut | Residual connections (ResNet) |
| Residual degrees of freedom | n − p − 1 | Multiple regression |
| residual function. F plus the shortcut is a residual block | F, how much to change | Residual connections (ResNet) |
| Residual plot | A plot of the residuals | Correlation and regression |
| residual sum of squares (RSS) | sum of squares | Projection and least squares |
| Residual, error | Leftover, noise | Block designs |
| residual, error | error e = true value − prediction | Regression losses |
| residual, error | spread left over after the line | ANCOVA |
| Residual: Pearson residual, adjusted (standardized) residual | How far off one cell is | The chi-square test |
| resolution, written III, IV, V | number of letters in the shortest word of the defining relation | Fractional factorials and confounding |
| Response or dependent variable / predictor, explanatory or independent variable | What you guess / what you guess from | Correlation and regression |
| response surface | the surface the results form over the settings | Response surface methodology |
| response surface methodology (RSM) | approximating the surface to find the best spot | Response surface methodology |
| response variable, dependent variable | the result you compare | ANCOVA |
| response, response variable | result | Response surface methodology |
| Restore best weights | Going back to the best weights | Early stopping and reading learning curves |
| Restricted mean survival time (RMST) | Average event-free time within a fixed period | Survival analysis |
| Restriction / matching | Studying one layer / comparing in pairs | Confounding and bias |
| retraining, rollback | Retrain, roll back | Data drift and monitoring models in production |
| retrieval-augmented generation (RAG) | Searching and putting in | Context windows and the KV cache |
| retrieval-augmented generation (RAG) | find, add to the prompt, then answer | RAG |
| retrieval-augmented generation (RAG) | finding documents and adding them before answering | Fine-tuning and LoRA |
| retrieval-augmented generation (RAG) | finding source documents and putting them in | Hallucination and evaluating LLMs |
| retriever / generator | the finding part / the answer-writing part | RAG |
| Return (G) | Discounted total of rewards | Reinforcement learning |
| reverse mode, backpropagation | multiplying backward from the output | Derivatives and the chain rule |
| reverse postorder | finishing order reversed | Topological sort |
| Reverse process, denoising | Restore, reverse process | Diffusion models |
| Reward hacking, specification gaming | Exploiting gaps in the score you were given | Reinforcement learning |
| Reward model | A scoring model built from people's choices | Reinforcement learning |
| Riemann sum | the estimate made with bars | Integrals |
| right singular vectors | the two input directions v1, v2 | Singular value decomposition |
| right-hand rule | right-hand rule | Cross product |
| right-handed coordinate system | axes set up the right-handed way | Cross product |
| Right-skewed (positively skewed) / left-skewed | Long tail on the right / left | Descriptive statistics |
| rigid transformation · similarity transformation · affine transformation | turn + shift · plus size · plus shear | Registration: from rigid to non-rigid |
| Risk difference / relative risk, risk ratio / NNT / hazard ratio | Risk difference / relative risk / number needed to treat / hazard ratio | Clinical trial design |
| risk difference. When it goes down, absolute risk reduction (ARR). Also attributable risk | one risk minus the other | Risk, relative risk and odds ratio |
| Risk set, number at risk | People still being followed | Survival analysis |
| risk, absolute risk, incidence proportion | the share of people it happened to | Risk, relative risk and odds ratio |
| RLHF | Reinforcement learning from human feedback | Reinforcement learning |
| RMSE (root mean square error) · fitness, inlier | average distance between partners · share of points with a partner | Registration: from rigid to non-rigid |
| RMSE (root mean squared error) | the square root of MSE | Regression losses |
| Robust | Hard to move with outliers | Descriptive statistics |
| robust | barely moved by outliers | Regression losses |
| Robust scaling. Interquartile range (IQR) | Rescaling with the median and the interquartile range | Normalization and standardization |
| RoI pooling (RoI = region of interest) | crop each to one size | Detector architectures: the R-CNN family and YOLO |
| Root | The top | Heaps and priority queues |
| root | leader | Minimum spanning trees |
| root · leaf | The top node · a node with no children | Binary search trees |
| Rotary position embedding (RoPE) | Turning the query and key vectors | Positional encoding |
| rotatable design | predictions wobble equally at equal distance from the centre | Response surface methodology |
| Rotation | Rotate | Data augmentation |
| rotation | turning on a circle | Grokking: generalizing long after memorizing |
| Rotation / reflection | Turn / flip | Orthogonal matrices and inner product spaces |
| Row | A line across | Matrix basics |
| row echelon form | staircase-shaped table | Linear systems and elimination |
| row echelon form | staircase-shaped table | Rank |
| Row vector | A matrix with one row | Matrix basics |
| row, column | row, column | Matrix multiplication |
| RPN (region proposal network) | region proposal network | Detector architectures: the R-CNN family and YOLO |
| RRF (Reciprocal Rank Fusion) | Combining with ranks only | Keyword and hybrid search |
| Rule of three | Upper limit 3 ÷ n with zero cases | Clinical trial design |
| Running mean, running variance | Mean and variance collected during training | Normalization and standardization |
| running mean, running variance, exponential moving average | stored mean and variance | Batch norm and layer norm |
| s / a / r | State / action / reward | Reinforcement learning |
| saddle point | saddle shape | Response surface methodology |
| saddle point | the middle of a saddle | Partial derivatives and the gradient |
| saddle point | uphill one way, downhill another | Jacobian and Hessian |
| sample size calculation, power analysis | Working out how many people you need | Sample size calculation |
| Sample variance. Dividing by n − 1 is Bessel's correction | The variance divided by n − 1 | Samples, sampling distributions and the standard error |
| sample, example | one example | Batch norm and layer norm |
| Sample, sample size n | The part you drew and measured, and how many | Samples, sampling distributions and the standard error |
| Sampling | Drawing by probability | Softmax and sampling |
| sampling | picking one with a number between 0 and 1 | Structured output |
| Sampling distribution | How the sample means spread out | Samples, sampling distributions and the standard error |
| sampling distribution under the null hypothesis / under the alternative hypothesis | No-effect curve / effect curve | Sample size calculation |
| Sampling with replacement | Someone already picked can be picked again | Samples, sampling distributions and the standard error |
| sampling with replacement | putting each example back before the next draw | Batch size and gradient accumulation |
| Sampling, generation | Making, drawing | Diffusion models |
| saturation | Stuck at ±1 | Weight initialization |
| saturation | Value stuck at an end, slope near 0 | Activation functions |
| saturation | flat ends of a function | Vanishing and exploding gradients |
| Scalar | A single number | Matrix basics |
| Scalar | A single number | Vectors in n dimensions |
| scalar | one number | Vectors |
| Scalar multiplication | Multiply every entry by one number | Matrix basics |
| Scalar multiplication | Multiplying every number by the same number | Vectors in n dimensions |
| scalar multiplication | Scaling | Linear transformations |
| scalar multiplication | multiplying by a number | Vector spaces and subspaces |
| scalar multiplication | scaling | Vectors |
| scalar projection (it can be negative) | shadow length | Dot product |
| scalar · vector · matrix | one number · a line · rows and columns | Tensors and shapes: axes, shape and broadcasting |
| scale | grid spacing s | Quantization |
| scale, step size | gap between levels | Fine-tuning and LoRA |
| Scaled dot-product attention | Dot product attention divided by √d | Attention |
| scaling factor, alpha | strength α | Fine-tuning and LoRA |
| Scatter plot | A picture with one dot per person for two measurements | Correlation and regression |
| scatter plot · Lissajous figure | a picture of two values across and up · a tangled pattern | Grokking: generalizing long after memorizing |
| Schwarz's theorem, Clairaut's theorem | the order of the derivatives does not matter | Jacobian and Hessian |
| Score function, gradient of the log density (∇ log p) | Where the density rises fastest | Diffusion models |
| Score function, scoring | Score function | Hyperparameter search: grid and random |
| Score normalization | Putting scores on the same scale | Keyword and hybrid search |
| screening experiment | an experiment that picks the important factors out of many | Fractional factorials and confounding |
| screening test, confirmatory test | first pass over many people, test before a firm diagnosis | Diagnostic tests and the ROC curve |
| secant line | the line through two points | Derivatives and the chain rule |
| second derivative test | telling them apart by the signs of the eigenvalues | Jacobian and Hessian |
second derivative. f″ | bend | Taylor approximation |
| second-order model | formula with squared and cross terms | Response surface methodology |
| second-order optimization | methods that also use the bend | Taylor approximation |
| Seed | Starting value for random numbers | Normal distribution |
| Seed | Starting value of the random numbers | Diffusion models |
| Seed | The starting value of the random numbers | Samples, sampling distributions and the standard error |
| seed | starting value of the random numbers | Confidence intervals |
| segmentation: semantic segmentation, instance segmentation | Naming every pixel | Object detection |
| Selection bias. In hospital data, Berkson's bias | Tilt from looking only at the people picked | Confounding and bias |
| selection bias. When it comes from chance: baseline imbalance | starting gap (caused by someone picking) | Randomization and control groups |
| selection sort | pick the smallest, put it in front | Elementary sorts |
| Self-attention | Looking within the same sentence | Attention |
| self-attention | Attention inside one text | Encoders and decoders: three kinds of transformer |
| self-information, information content, surprisal | surprise, −log p | Entropy and cross-entropy |
| Self-supervised learning | The text is the answer key | How LLMs are trained |
| self-supervised learning (SSL) | learning from a problem made from the data, no labels | Self-supervised learning: representations without labels |
| Semantic chunking | Cutting where the meaning changes | Chunking |
| semantic segmentation | only a class for every pixel | Image segmentation |
| sensitivity, true positive rate | chance of a positive result if sick | Probability and Bayes' theorem |
| sensitivity, true positive rate (TPR), recall | share of sick people caught | Diagnostic tests and the ROC curve |
| Separate chaining | Hanging a chain | Hash tables |
| Sequence | A first, B first | Repeated measures and crossover designs |
| Sequence, sequence length | Row of tokens, number of patches | Vision Transformer (ViT) |
| Sequence, time series | Ordered data, a row | RNNs and LSTMs |
| shape | the list of sizes, one per axis | Tensors and shapes: axes, shape and broadcasting |
| shared MLP, multilayer perceptron | the same layer for every point | 3D vision: voxels, point clouds and NeRF |
| shear mapping, shear transformation | shear (leaning) | Determinant |
| short-circuit | a shortcut that jumps between turns | Manifolds |
| Short-term memory / summarization / long-term memory | History / summary / outside store | AI agents |
| shortest path (fewest edges when edges have no length) | shortest path | Graph search: BFS and DFS |
| shortest-paths tree | tree made of previous nodes | Dijkstra's algorithm |
| shrinkage | Pulling the covariance toward a simpler shape | Linear discriminant analysis (LDA) |
| shuffle | mixing into random order | Merge sort and quicksort |
| Sigma, summation (Σ) | The "add them all up" sign | Vectors in n dimensions |
| Sigmoid | σ | RNNs and LSTMs |
| Sigmoid function, logistic function | S-shaped curve | Logistic regression |
| sigmoid, logistic function | The S-shape that squeezes into 0 to 1 | Functions and graphs |
| sigmoid, logistic function | sigmoid σ | Backpropagation |
| signed area | area where the part below the axis is subtracted | Integrals |
| Significance level | The threshold α | Multiple comparisons |
| significance level | the chance of a false alarm, α | Type I and type II errors, and statistical power |
| Significance level (α) | The line set in advance | Hypothesis testing and the p-value |
| significance level (α) | cutoff chosen in advance (0.05) | The t-test |
| significance level, type I error rate | False alarm rate, α | Sample size calculation |
| similar matrices. B = P⁻¹AP | Two matrices for the same transformation in different bases | Linear transformations |
| similarity metric: mean squares, correlation, mutual information | how well they overlap | Registration: from rigid to non-rigid |
| similarity, affinity p_ij, q_ij | neighbor chance | t-SNE and UMAP |
| simple effect, conditional effect | the effect with the other factor held at one level | Factorial designs and interaction |
| simple randomization | a coin flip per person | Randomization and control groups |
| Simpson's paradox | Splitting flips the direction | Confounding and bias |
| Simpson's paradox | The direction flips when groups are combined | Multiple regression |
| Simpson's rule | adding with pieces of parabolas | Integrals |
| Simulator | Simulated world | Reinforcement learning |
| single precision (FP32), half precision (FP16). Another 16-bit format is bfloat16 (BF16) | 32-bit float, 16-bit float | Quantization |
| single-source shortest paths | shortest paths from one start to every node | Dijkstra's algorithm |
| singular matrix | a matrix with det A = 0 | Cramer's rule |
| singular matrix | matrix that squashes the plane flat | Determinant |
| singular matrix | matrix that squashes the plane flat and cannot be undone | Inverse matrix |
| singular value decomposition (SVD) | splitting into turn, stretch, turn again | Singular value decomposition |
| singular values | stretch amounts σ1, σ2 | Singular value decomposition |
| Sink, sift-down | Move down | Heaps and priority queues |
| Sinusoidal positional encoding | Fixed table made of sine and cosine waves | Positional encoding |
| Skewed distribution, long tail | A long tail on one side | Normal distribution |
| skip connection | sending a map across | Image segmentation |
| slack variable | ζᵢ, how far a point falls short of its edge | Support vector machines |
| slope / y-intercept | Slope / value at x = 0 | Functions and graphs |
| Slow pathway · Fast pathway | the sparse path · the dense, light path | Video classification: convolution with a time axis |
| small-angle approximation | small angle shortcut | Taylor approximation |
| smoothing, regularization | the small number λ added to the diagonal | RBF |
| soft Dice, Dice loss | Dice with probabilities put in | Image segmentation |
| Soft label | A blended answer | Data augmentation |
| soft label, soft target | an answer given as a probability bar | Label formats |
| soft margin | SVM that allows points across the band | Support vector machines |
| Soft thresholding | Pull toward 0, stop at 0 | Weight decay and L1/L2 regularization |
| Softmax | Turning scores into probabilities | Softmax and sampling |
| Softmax | Turning scores into shares that add up to 1 | Attention |
| softmax | Scores to probabilities that add up to 1 | Activation functions |
| softmax | turning model scores into probabilities | Entropy and cross-entropy |
| softmax | turning scores into probabilities that add up to 1 | Multimodal learning: how CLIP puts images and text in one space |
| Softmax, multinomial logistic regression | Turning scores into probabilities for three or more groups | Logistic regression |
| source | node with no incoming arrows | Topological sort |
| source task, target task | The original task and the new task | Transfer learning and fine-tuning |
| space complexity | how extra memory grows | Time complexity (Big O) |
| Spaghetti plot, individual profiles | One line per person | Repeated measures and crossover designs |
| span | everything you can make | Vector spaces and subspaces |
span. Written span{a, b} | everywhere you can reach | Linear combinations and span |
| spanning tree | lines that connect every dot with no loops | Minimum spanning trees |
| spans the space. Everything it reaches is the span | reaches everything | Basis and change of coordinates |
| Sparsity | Many weights at 0 | Weight decay and L1/L2 regularization |
| sparsity of effects principle | the belief that only a few effects are large | Fractional factorials and confounding |
| spatial autocorrelation | Nearby places look alike | Data splits and leakage |
| spatial block cross-validation, spatial k-fold | Spatial blocks | Data splits and leakage |
| spatiotemporal features | features holding time and space together | Video classification: convolution with a time axis |
| Spearman's rank correlation, ρ (rho) | Correlation of ranks | Correlation and regression |
| special tokens | pieces that only mark something | Tokenization |
| specificity, true negative rate | chance of a negative result if healthy | Probability and Bayes' theorem |
| specificity, true negative rate | share of healthy people left alone | Diagnostic tests and the ROC curve |
| spectrum bias. Gathering patients and controls separately is a case-control design | bias from who was measured | Diagnostic tests and the ROC curve |
| square matrix | matrix with the same number of rows and columns | Inverse matrix |
| Squeeze theorem | Pinning the middle between two sides | Limits and continuity |
| Stable sort | Keeps the order of equal values | Heaps and priority queues |
| stable sort | a sort that keeps equal values in order | Merge sort and quicksort |
| stable sort | equal values keep their order | Elementary sorts |
| standard basis | Basic arrows e₁, e₂ | Linear transformations |
| standard basis | usual arrows î, ĵ | Basis and change of coordinates |
| standard deviation | Spread, σ | Sample size calculation |
| standard deviation | square root of the variance | Principal component analysis |
| Standard deviation (SD) | How much one person differs from the next | Samples, sampling distributions and the standard error |
| Standard deviation (SD, σ or s) | Square root of the variance | Descriptive statistics |
| Standard deviation. Written σ | Square root of the variance | Normal distribution |
| Standard error (SE) | How much a mean wobbles by chance | Hypothesis testing and the p-value |
| Standard error (SE) | How much the mean difference wobbles | Repeated measures and crossover designs |
| Standard error (SE) | How much the slope wobbles from sample to sample | Correlation and regression |
| standard error (SE) | Spread of the difference between two means | Sample size calculation |
| standard error (SE) | how much a score wobbles | Hallucination and evaluating LLMs |
| standard error (SE) | how much sample means scatter | Confidence intervals |
| standard error (SE) | noise, how much a mean (or difference) wobbles by chance | The t-test |
| standard error (SE) | the wobble of the difference in means | Type I and type II errors, and statistical power |
| Standard error (SE), standard error of the mean (SEM) | How much the mean spreads out, σ ÷ √n | Samples, sampling distributions and the standard error |
| Standard error (SE, SEM) | How much the sample mean wobbles | Descriptive statistics |
| standard error of the mean | how much the batch gradient shakes, σ ÷ √B | Batch size and gradient accumulation |
| standard error, 95% confidence interval | how much an estimate wobbles | Risk, relative risk and odds ratio |
| Standard normal distribution | Normal distribution with mean 0 and standard deviation 1 | Normal distribution |
| standard order (Yates order) | corner names (1), a, b, ab, … | Fractional factorials and confounding |
| Standardization, standardized risk | Combining with the same weights | Confounding and bias |
| standardization, z-score | removing units with (x − mean) ÷ standard deviation | Principal component analysis |
| Standardization. The results are z-scores (standard scores) | Making the mean 0 and the variance 1 | Normalization and standardization |
| state | One cell, one small problem | Dynamic programming |
| State space tree, search tree | The tree of choices made one at a time | Backtracking |
| State value V(s), action value Q(s, a) | Value | Reinforcement learning |
| state, finite-state machine | where we are in the grammar | Structured output |
| stationary point | spot where the slope is zero | Response surface methodology |
| Statistic. Called an estimator when used to estimate a parameter | Numbers computed from a sample x̄, s, p̂ | Samples, sampling distributions and the standard error |
| Statistical power | The chance of finding an effect that is there | Hypothesis testing and the p-value |
| statistical power | Chance of catching it, 1 − β | Sample size calculation |
| statistical power | the chance of catching a real effect, 1 − β | Type I and type II errors, and statistical power |
| Statistically significant | Below the line | Hypothesis testing and the p-value |
| statistically significant, significance level α = 0.05 | significant at the 5% level | Confidence intervals |
| Stemming | Cutting words down to a common form | Keyword and hybrid search |
| step decay · exponential decay | drop in stairs · drop by a ratio | Learning rate schedules |
| step, iteration · epoch | step · one pass over all the data | Learning rate schedules |
| step, iteration, update | one update of the weights | Batch size and gradient accumulation |
| Step-down / step-up | Start at the front and stop / search from the back | Multiple comparisons |
| Stochastic environment, transition probability | Slippery floor | Reinforcement learning |
| Stochastically larger | One side tends to be bigger | Nonparametric tests |
| stop words | very common words | RAG |
| Stopping boundary / alpha spending, alpha spending function | The stopping rule / sharing out α | Clinical trial design |
| straight-through estimator (STE) | let the gradient pass as if there were no rounding | Quantization |
| Stratification | Comparing inside layers | Confounding and bias |
| Stratification, stratified k-fold | Keeping class shares even | Data splits and leakage |
| Stratified randomization | Randomizing separately inside each stratum | Block designs |
| stratified randomization. One split is a stratum | split first, then draw inside each split | Randomization and control groups |
| Stride | How many cells the filter moves | Convolution and CNNs |
| Stride | Stride S | Pooling and receptive fields |
| stride | step | Reading CNN architectures |
| Strided convolution | Convolution with a stride | Pooling and receptive fields |
| structured output | getting answers in a fixed shape | Structured output |
| Student's t distribution / degrees of freedom | thick-tailed distribution / values free to move | Confidence intervals |
| Student's t-distribution; with one degree of freedom, the Cauchy distribution | distribution with a heavier tail | t-SNE and UMAP |
| Student's t-test, pooled variance | method that treats the spreads as equal | The t-test |
| subgradient | the value used as the slope at a kink | Regression losses |
| subgradient descent | going down by picking one slope at a corner | Support vector machines |
| Subgroup analysis | Analysis of split groups | Clinical trial design |
| subgroup analysis | looking at the effect in subgroups | Factorial designs and interaction |
| sublayer | one part inside a block (attention, small neural network) | Encoders and decoders: three kinds of transformer |
| subspace | a smaller collection inside it | Vector spaces and subspaces |
| subtree | A node and everything under it, a branch | Binary search trees |
| subword | piece smaller than a word | Tokenization |
| successor | The smallest value in the right branch | Binary search trees |
| Sum of squares | Squared deviations added up | Descriptive statistics |
| Sum of squares (SS) | A share of the spread | Block designs |
| sum of squares (SS) | squared distances added up | Analysis of variance (ANOVA) |
| sum of squares (SS) / mean square (MS); df is degrees of freedom | a part of the spread / that part divided by its df | Factorial designs and interaction |
| Superiority / non-inferiority / equivalence trial | Better / not worse / the same | Clinical trial design |
| supervised / unsupervised learning | Learning with labels / without labels | Linear discriminant analysis (LDA) |
| support vector | point on a band edge or inside the band | Support vector machines |
| support vectors | the points inside the margin that keep a bump | RBF |
| surjective, onto | Every point of the codomain is reached | Linear transformations |
| Surrogate endpoint | A value measured instead of the real outcome | Clinical trial design |
| Survival function | Share with no event yet, S(t) | Survival analysis |
| Survival time, time-to-event | How long it took until something happened | Survival analysis |
| Survivorship bias | Tilt from looking only at what lasted | Confounding and bias |
| Swim, sift-up | Move up | Heaps and priority queues |
| Swiss roll | rolled-up sheet of paper | Manifolds |
| symbol table | storage that finds values by key | Red-black trees |
| symmetric cross-entropy | the average of the row loss and the column loss | Multimodal learning: how CLIP puts images and text in one space |
| symmetric matrix | matrix with b = c | Eigenvalues and eigenvectors |
| symmetry, symmetry breaking | Units staying twins, and preventing it | Weight initialization |
| synergy / antagonism (pharmacology sometimes uses stricter definitions) | bigger together / smaller together | Factorial designs and interaction |
| system of linear equations, linear system | several equations solved together | Linear systems and elimination |
| System prompt | System instructions | AI agents |
| t statistic | signal ÷ noise | The t-test |
| table of contrasts, design matrix | sign table | Fractional factorials and confounding |
| table of contrasts, design matrix, model matrix | sign table | Factorial designs and interaction |
| tabular data, structured data | table data | Decision trees, random forests and boosting |
| tabulation, bottom-up | Fill a table from the bottom up | Dynamic programming |
| Tangent line | A line that touches the circle at just one point | Limits and continuity |
| tangent line | the line that just touches the curve | Derivatives and the chain rule |
| Taylor approximation | imitating a function with a polynomial close to one point | Taylor approximation |
Taylor polynomial of degree n. Tₙ(x), Pₙ(x) | degree n approximation | Taylor approximation |
| Taylor series | adding the terms forever | Taylor approximation |
| Teacher forcing | Feed in the real earlier tokens | How LLMs are trained |
| Teacher forcing | Feeding the decoder the correct word during training | RNNs and LSTMs |
| Temperature | Temperature | Softmax and sampling |
| temperature | the number T the scores are divided by | Label formats |
| temperature | the number that sharpens or flattens the probabilities | Multimodal learning: how CLIP puts images and text in one space |
| temperature | the number τ that divides the similarities | Self-supervised learning: representations without labels |
| temperature scaling | Dividing the logits by one number | Calibration |
| Temporal-difference error (TD error) | Target − what it believed (how wrong it was) | Reinforcement learning |
| Tensor | A collection of numbers with many axes | Matrix basics |
| tensor, n-dimensional array | numbers stacked along several axes | Tensors and shapes: axes, shape and broadcasting |
| Term frequency (tf) | How often the word appears | Keyword and hybrid search |
| Term frequency saturation | Repeats stop adding much | Keyword and hybrid search |
| test collection, evaluation set / relevance judgments (qrels) | test set / the right answers for each question | Retrieval metrics |
| Test of independence / test of homogeneity / goodness-of-fit test | Are two things related / is the share the same in every group / does it match set shares | The chi-square test |
| Test statistic. Divided by the wobble, it is the z-statistic | The data boiled down to one number | Hypothesis testing and the p-value |
| Test-time augmentation (TTA) | Averaging predictions over changed copies at use time | Data augmentation |
| text-to-text | Text in, text out | Encoders and decoders: three kinds of transformer |
| TF-IDF (term frequency-inverse document frequency) | word weight | RAG |
| the cumulative distribution function (CDF) of the standard normal distribution | Φ(z): the area left of z | Type I and type II errors, and statistical power |
| the fundamental problem of causal inference | you cannot see both for one person | Randomization and control groups |
| the gradient of f at x. ∇ is read "nabla" | ∇f(x) | Gradient descent |
| The ReAct pattern (reasoning + acting) | Thought, action, observation | AI agents |
| The tail. The paper calls it the unreliable tail | The low candidates together | Softmax and sampling |
| The tutorial calls it the optimization loop and splits one turn into a train loop and a validation/test loop | training loop | The training loop: one step, one epoch |
| thinned network | a network with some neurons off | Dropout |
| threshold | the distance cut-off for "same" | Metric learning: learning a distance |
| threshold moving, threshold tuning | moving the decision threshold | Class imbalance |
| Threshold, cutoff | Threshold | Logistic regression |
| threshold, delta. Called beta in PyTorch's Smooth L1 | the seam δ | Regression losses |
| Tie / midrank (average rank) | Equal values / the rank they share | Nonparametric tests |
tilde approximation (~) | dropping only the small terms | Time complexity (Big O) |
| time complexity, order of growth | how the steps grow with n | Time complexity (Big O) |
| Time series split | Splitting by time | Data splits and leakage |
| Time step t | Step | RNNs and LSTMs |
| Timestep, t. The total number of steps is T | Step | Diffusion models |
| Token | The unit a model reads text in | Chunking |
| Token | Word, piece of a word | Attention |
| token | A word or a piece of a word | Context windows and the KV cache |
| token | a piece of text the model outputs | Structured output |
| token | piece | Tokenization |
| token embeddings, the output of the last layer | One vector per token | Embedding models: one vector per sentence |
| token F1, n-gram overlap (BLEU, ROUGE) | word overlap scores | Hallucination and evaluating LLMs |
| token id | piece number | Tokenization |
| token, token ID | token, token ID | Transformers and LLMs |
| Token. A word or a piece of a word | Token | Softmax and sampling |
| tokenization | cutting text into pieces and numbering them | Tokenization |
| Tokenization. For Korean, morphological analysis | Splitting text into words | Keyword and hybrid search |
| tokenizer | the tool that cuts (rules plus list) | Tokenization |
| tool calling, function calling | letting the model call a function | Structured output |
| Tool calling, tool use, function calling | Calling a tool | AI agents |
| top-k | the top k | RAG |
| Top-k sampling | Keeping only the k most likely | Softmax and sampling |
| Top-p sampling, nucleus sampling | Keeping words until the total reaches p | Softmax and sampling |
| topological order | the line | Topological sort |
| topological sort | lining up | Topological sort |
| topological sort | putting tasks in order | Graph search: BFS and DFS |
| torque | turning force | Cross product |
| total differential | the change when every input changes a little | Partial derivatives and the gradient |
| total sum of squares (SST) | total sum of squares | Analysis of variance (ANOVA) |
| trace | sum of the diagonal | Principal component analysis |
trace. Written tr A | diagonal sum a + d | Eigenvalues and eigenvectors |
train mode, eval mode (model.train(), model.eval()) | training mode, inference mode | Dropout |
| trainable parameters | Numbers you train | Transfer learning and fine-tuning |
| training accuracy · test accuracy | training and test accuracy | Grokking: generalizing long after memorizing |
| training data · query point | points with known answers · the new point | k-nearest neighbors |
| Training loss, validation loss | Loss on the training data, loss on held-out data | Early stopping and reading learning curves |
| Training set, validation set (dev set), test set | Training, validation, test data | Data splits and leakage |
| training set, validation set (dev set), test set (holdout set) | training data, validation data, test data | Overfitting and generalization |
| transfer learning | Using a model that already learned as a starting point | Transfer learning and fine-tuning |
| transfer learning, fine-tuning | taking a trained model and training it again | Reading CNN architectures |
| Transformer block, layer | block, layer | Transformers and LLMs |
| translation / scaling / reflection | Shift / stretch / flip | Functions and graphs |
| Translation equivariance | Same filter finds it wherever it moves | Vision Transformer (ViT) |
| transmittance | surviving light | 3D vision: voxels, point clouds and NeRF |
| Transpose, Kᵀ | K turned on its side | Attention |
Transpose, Qᵀ | Laying a matrix on its side | Orthogonal matrices and inner product spaces |
| transpose, written Aᵀ | swapping rows and columns | Cramer's rule |
| Transpose. Written aT | Switching between standing up and lying down | Vectors in n dimensions |
Transpose. Written Aᵀ | Flip over the diagonal | Matrix basics |
transpose. Written Aᵀ | swapping rows and columns | Projection and least squares |
transpose. Written Aᵀ | the matrix with rows and columns swapped | Singular value decomposition |
transpose. Written Bᵀ | rows and columns swapped | Basis and change of coordinates |
transpose. Written Xᵀ | matrix with rows and columns swapped | Inverse matrix |
| transposed convolution, also called deconvolution or up-convolution | growing by stamping | Image segmentation |
| trapezoidal rule | trapezoid | Integrals |
| treatment combination, cell | cell | Factorial designs and interaction |
| treatment group / control group | the group that gets the treatment / the group you compare against | Randomization and control groups |
| treatment-by-covariate interaction | the slope differs by group | ANCOVA |
| triangle law of vector addition, tip-to-tail method | putting b on the tip of a | Vectors |
| triplet | A set of anchor, pair and non-pair | Embedding models: one vector per sentence |
| triplet loss | the loss measured on three | Metric learning: learning a distance |
| triplet mining, online triplet mining | picking triplets to train on | Metric learning: learning a distance |
| true negative (TN) | correct rejection | Confusion matrix, precision, recall and F1 |
| true positive (TP) | hit | Confusion matrix, precision, recall and F1 |
| true positive (TP), false positive (FP) | Right, wrong | Object detection |
| true positive (TP), false positive (FP), false negative (FN), true negative (TN) | overlap, extra paint, missed, background in both | Image segmentation |
| two-sample t-test. If σ is treated as known, a z-test | comparing two means when σ is estimated from the sample | Type I and type II errors, and statistical power |
| two-sided (two-tailed) / one-sided (one-tailed) test | both directions / one direction | The t-test |
| two-stream, spatial stream · temporal stream | one network for appearance and one for motion | Video classification: convolution with a time axis |
| two-way ANOVA | analysis of variance with two factors | Factorial designs and interaction |
| Type I error, false positive | Claiming an effect that is not there | Hypothesis testing and the p-value |
| Type I error, false positive | False alarm, false discovery | Multiple comparisons |
| type I error, false positive | false alarm | Type I and type II errors, and statistical power |
| type I error, false positive | finding a difference that is not there | The t-test |
| type II error rate | Miss rate, β | Sample size calculation |
| Type II error, false negative | Missed | Multiple comparisons |
| Type II error, false negative | Missing an effect that is there | Hypothesis testing and the p-value |
| type II error, false negative | miss | Type I and type II errors, and statistical power |
| U-Net | Network shape that shrinks then grows | Diffusion models |
| Unbiased, unbiased estimator | Right on average | Samples, sampling distributions and the standard error |
| undefined | No value there | Functions and graphs |
| Undercomplete autoencoder | An autoencoder with a bottleneck narrower than its input | Autoencoders and VAEs |
| underfitting | learning too little | Dropout |
| underfitting | too simple to fit even the training data | Overfitting and generalization |
| Underfitting, overfitting | Not learned enough, memorizing | Early stopping and reading learning curves |
| Uniform / exponential / binomial distribution | Flat / waiting time / number of heads | Normal distribution |
| uniform distribution | Even spread between two ends | Weight initialization |
| Union bound, Boole's inequality | At most m × α | Multiple comparisons |
union, written A ∪ B | A or B | Probability and Bayes' theorem |
| union-find | the structure that answers "already connected?" | Minimum spanning trees |
| unique solution / inconsistent system / infinitely many solutions | one answer / no answer / endlessly many | Linear systems and elimination |
| Unit circle | A circle with radius 1 | Limits and continuity |
| Unit vector | A vector of length 1 | Vectors in n dimensions |
| unit vector | a direction arrow of length 1 | Partial derivatives and the gradient |
| unit vectors, standard basis | axis arrows of length 1: i, j, k | Cross product |
| universal approximation theorem | A wide layer can imitate almost any function | Activation functions |
| universal approximation theorem | the theorem that it can copy any shape | Neural networks |
| unknown token, [UNK] | the "unknown" piece | Tokenization |
| unknowns, variables | numbers you don't know yet, x and y | Linear systems and elimination |
| Unrolling (unfolding in time) | Laying the loop out in time | RNNs and LSTMs |
| unsupervised learning · supervised learning | learning with no answers · learning from answers | k-means clustering |
| update | step | The training loop: one step, one epoch |
| upsampling | growing a map | Image segmentation |
| upstream gradient | gradient from behind | Backpropagation |
| validation set | Data kept out of training and used for fitting this | Calibration |
| Validation set, test set | Data kept aside | Early stopping and reading learning curves |
| validation set, test set | data not used for training | k-nearest neighbors |
| Value | What a word hands over | Attention |
| value function, objective | The discriminator's score V | GANs |
| vanishing gradient | Slopes shrinking toward the early layers | Activation functions |
| vanishing gradient | gradient heading to 0 | Vanishing and exploding gradients |
| vanishing gradient | the gradient gets close to 0 near the input | Residual connections (ResNet) |
| vanishing gradient | the slope shrinking layer by layer | Neural networks |
| vanishing gradient / exploding gradient | gradients shrinking away / blowing up | Backpropagation |
| Vanishing gradient, exploding gradient | Gradients fading, gradients blowing up | RNNs and LSTMs |
| vanishing gradient, exploding gradient | Values and gradients fading or blowing up | Weight initialization |
| variance | spread (average squared distance from the mean) | Principal component analysis |
| Variance inflation factor (VIF) | How many times the wobble grows | Multiple regression |
| Variance, precision / bias | Wobble / being wrong one way | Block designs |
| variance, standard deviation | swing | Dropout |
| Variance, standard deviation (σ) | Spread Var[x], √Var[x] | Normalization and standardization |
| variance, standard deviation (σ) | How spread out | Weight initialization |
| Variance. Written σ² | Average of the squared distances | Normal distribution |
| Variational autoencoder (VAE) | An autoencoder that sends inputs to distributions | Autoencoders and VAEs |
| vector | arrow | Vectors |
| vector | list of numbers | Embeddings |
| Vector database | A database that stores and searches vectors | Vector search |
| vector database | a store that holds vectors and finds the nearest ones | RAG |
| vector field, gradient field | arrows laid over the whole map | Partial derivatives and the gradient |
| vector space, linear space | a collection you cannot leave by adding or stretching | Vector spaces and subspaces |
| vector-Jacobian product (VJP) | one row × Jacobian | Jacobian and Hessian |
| Vector. Also called an ordered tuple | An ordered list of numbers | Vectors in n dimensions |
| vertex | The bottom of the bowl | Functions and graphs |
| vertex | node | Graph search: BFS and DFS |
| vertex | node | Dijkstra's algorithm |
| vertex | node | Topological sort |
| vertex, node | dot | Minimum spanning trees |
| Vision Transformer (ViT) | A transformer that reads a picture in pieces | Vision Transformer (ViT) |
| vocabulary size | how many different tokens | Embeddings |
| Vocabulary, size V | Every token the model knows | How LLMs are trained |
| vocabulary, vocab | vocabulary | Transformers and LLMs |
| vocabulary, vocabulary size | list of usable pieces | Tokenization |
| volume density · opacity (alpha) | how thick · how much light is blocked | 3D vision: voxels, point clouds and NeRF |
| volume rendering | combining colors along a ray | 3D vision: voxels, point clouds and NeRF |
| Voronoi cell | A cell made by "which center is nearest" | Vector search |
| voxel · voxel grid | 3D pixel · grid of 3D cells | 3D vision: voxels, point clouds and NeRF |
| Wald interval / Wilson score interval | simple formula / Wilson interval | Confidence intervals |
| Wald test | Comparing coefficient ÷ standard error with 1.96 | Logistic regression |
| Wald test | a test that uses the same standard error | Risk, relative risk and odds ratio |
| warm restart | raising it big again | Learning rate schedules |
| warmup | raising it slowly at the start | Learning rate schedules |
| warmup | raising the learning rate slowly at the start | Batch size and gradient accumulation |
| Washout period | The break in between | Repeated measures and crossover designs |
| Weight decay | Shrink by a fixed ratio every step | Weight decay and L1/L2 regularization |
| weight decay | shrinking weights toward 0 | Dropout |
| weight decay · early stopping | shrinking big weights · stopping early | Grokking: generalizing long after memorizing |
| weight initialization | Picking the first weights | Weight initialization |
| Weight sharing | Using the same filter at every spot | Convolution and CNNs |
| weight update | the change ΔW | Fine-tuning and LoRA |
| Weight, bias (also called the intercept) | Weight, bias | Logistic regression |
| weight, bias. Together they are the parameters | weight, bias | Backpropagation |
| weight, coefficient | the number each bump is multiplied by | RBF |
| weight. A graph with costs is an edge-weighted graph | cost of a line | Minimum spanning trees |
| Weighted average, weighted sum | Mixing by share | Attention |
| weighted quick-union | putting the smaller tree under the bigger one | Minimum spanning trees |
| weighted sum, pre-activation | multiply-and-add value z | Neural networks |
| weights and biases together | parameters | Neural networks |
| weights, parameters | the numbers inside a model | Fine-tuning and LoRA |
| Welch's ANOVA | ANOVA when spreads differ | Analysis of variance (ANOVA) |
| Welch's t-test | A t-test that allows different spreads | Nonparametric tests |
| Welch's t-test. The degrees of freedom formula is Welch–Satterthwaite | method that allows different spreads | The t-test |
| Whitening | Removing correlation to make the cloud round | Normalization and standardization |
| width, shape parameter. In SVMs, gamma (γ) | the width σ, γ, ε | RBF |
| Wilcoxon signed-rank test | Comparing the same people before and after by rank | Nonparametric tests |
| within-class scatter matrix | Spread inside the classes, S_W | Linear discriminant analysis (LDA) |
| within-group sum of squares, error or residual sum of squares (SSW, SSE) | within sum of squares | Analysis of variance (ANOVA) |
| Woolf's method | the standard error formula for the log odds ratio | Risk, relative risk and odds ratio |
| word analogy, vector arithmetic | word math | Embeddings |
| Workflow | Steps in a fixed order | AI agents |
| worst case · average case · best case | worst · average · best | Time complexity (Big O) |
| x̂₀, posterior mean, output of the denoiser | Guess of the original | Diffusion models |
| Yates' continuity correction | Shrinking |O − E| by 0.5 | The chi-square test |
| Youden's J, Youden index | sensitivity + specificity − 1 | Diagnostic tests and the ROC curve |
| z-score, standard score. Converting is standardization | How many standard deviations from the mean | Normal distribution |
Zero matrix. Written O | A matrix of all zeros | Matrix basics |
| zero point, asymmetric quantization | putting the smallest value at level 0 | Fine-tuning and LoRA |
| zero point. Using both s and z is called affine quantization | zero point z | Quantization |
| zero vector | the origin, 0 | Vector spaces and subspaces |
| zero vector | zero arrow | Linear combinations and span |
| zero-shot classification | classifying from class names alone, with no examples | Multimodal learning: how CLIP puts images and text in one space |
| × N, N× | N blocks stacked | Encoders and decoders: three kinds of transformer |
| β-VAE | A VAE with a separate weight on KL | Autoencoders and VAEs |
| βt, variance schedule, noise schedule. Growing in a straight line is a linear schedule | Noise added at each step / how it grows | Diffusion models |
| γ (scale, gain) and β (shift, bias), learned parameters | Stretch and shift | Normalization and standardization |
| γ (scale, gain), β (shift, bias). Learned parameters | the stretch and the shift | Batch norm and layer norm |
| ε-greedy. Always picking the best is greedy | Random with probability ε, otherwise the best | Reinforcement learning |
| ε-prediction, noise prediction | Guessing the noise | Diffusion models |
| ᾱt (alpha bar), the running product of (1 − β) | Share of the original left | Diffusion models |
| ℝn, real coordinate space, vector space | All vectors of n numbers | Vectors in n dimensions |