Glossary
106 machine learning terms in plain language, each linked to the topic that teaches it.
106 terms
A
- Accuracy
- Fraction of predictions that are correct. Misleading when classes are imbalanced. 8. Model Evaluation
- Activation function
- Non-linear function applied to a neuron's weighted sum, such as ReLU, sigmoid or tanh. 15. Introductory Neural Networks
- Adam
- Optimiser that adapts each parameter's step size using running averages of gradients and squared gradients. 15. Introductory Neural Networks
- AUC
- Area under the ROC curve: probability a random positive is ranked above a random negative. 0.5 is random. 8. Model Evaluation
B
- Backpropagation
- Computing gradients of the loss for every weight by applying the chain rule backwards through the network. 15. Introductory Neural Networks
- Bagging
- Training models on bootstrap samples and averaging them to reduce variance. 10. Decision Trees & Ensemble Learning
- Batch size
- Number of examples used to compute one gradient update. 4. Learning as an Optimization Problem
- Bayes' theorem
- P(H|E) = P(E|H)·P(H) / P(E): updating a prior belief with evidence. 2. Mathematical Foundations
- Bias (statistical)
- Systematic error from wrong model assumptions; high bias causes underfitting. 3. Learning & Generalization
- Bias–variance trade-off
- Simpler models have more bias and less variance; complex ones the reverse. Test error is minimised in between. 3. Learning & Generalization
- Boltzmann machine
- Energy-based network of stochastic binary units whose configurations follow the Boltzmann distribution. 16. Advanced Topics
- Boosting
- Building an ensemble sequentially, each model correcting the errors of the previous ones. 10. Decision Trees & Ensemble Learning
- Bootstrap sample
- A sample of n examples drawn with replacement from a dataset of size n. 10. Decision Trees & Ensemble Learning
C
- Clustering
- Grouping unlabelled examples so that similar ones end up together. 13. Unsupervised Learning
- Confusion matrix
- Table of predicted vs. actual classes: TP, FP, TN, FN for binary problems. 8. Model Evaluation
- Convolution
- Sliding a small learnable filter over an input and summing element-wise products to build a feature map. 15. Introductory Neural Networks
- Covariance
- How two variables vary together; positive when they rise together. 2. Mathematical Foundations
- Cross-entropy
- Loss for probabilistic classification: −log of the probability assigned to the true class. 7. Classification
- Cross-validation
- Rotating which fold is held out for validation and averaging the scores. 8. Model Evaluation
- Curse of dimensionality
- Data sparsity and distance concentration that make high-dimensional learning hard. 14. Dimensionality Reduction
D
- DBSCAN
- Density-based clustering that finds clusters of any shape and marks low-density points as noise. 13. Unsupervised Learning
- Decision boundary
- The surface in feature space where a classifier's prediction changes class. 7. Classification
- Decision tree
- Model that predicts through a sequence of feature-threshold questions ending in leaves. 10. Decision Trees & Ensemble Learning
- Deep learning
- Machine learning with neural networks of many layers. 1. Introduction to Machine Learning
- Dimensionality reduction
- Representing data with fewer features while keeping most of its information. 14. Dimensionality Reduction
- Divergence
- Non-negative measure of difference between distributions, zero only if they are equal; need not be symmetric. 5. Similarity / Divergence Measures
- Dropout
- Regularisation that randomly switches off neurons during training. 15. Introductory Neural Networks
E
- Early stopping
- Stopping training when validation loss stops improving. 4. Learning as an Optimization Problem
- Entropy
- Measure of class mixing in a node: −Σ p log₂ p. Zero when pure. 10. Decision Trees & Ensemble Learning
- Euclidean distance
- Straight-line (L2) distance: square root of the sum of squared coordinate differences. 2. Mathematical Foundations
- Expected risk
- Average loss over the true data distribution — what we really want to minimise. 4. Learning as an Optimization Problem
F
- F-divergence
- Family of divergences built from a convex f with f(1) = 0 applied to the density ratio. 5. Similarity / Divergence Measures
- Feature
- An input variable describing an example (a column in the dataset). 1. Introduction to Machine Learning
- Federated learning
- Training a shared model on decentralised data; only model updates leave the clients. 17. Distributed ML
G
- GAN
- Generative adversarial network: a generator and a discriminator trained against each other. 16. Advanced Topics
- Generalization
- Performing well on new data from the same distribution as the training data. 3. Learning & Generalization
- Gini impurity
- 1 − Σ p²: alternative to entropy for measuring node impurity. 10. Decision Trees & Ensemble Learning
- Gradient
- Vector of partial derivatives; points in the direction of steepest increase. 4. Learning as an Optimization Problem
- Gradient descent
- Iteratively moving parameters against the gradient to reduce the loss. 4. Learning as an Optimization Problem
H
- Hellinger distance
- Bounded, symmetric distance between distributions based on square roots of densities. 5. Similarity / Divergence Measures
- Hyperparameter
- A setting chosen before training (learning rate, k, depth, λ), tuned on validation data. 1. Introduction to Machine Learning
I
- Inner product
- Sum of element-wise products of two vectors; measures alignment. 2. Mathematical Foundations
- IPM
- Integral probability metric: largest difference in expectations over a class of test functions. 5. Similarity / Divergence Measures
J
- Jacobian
- Matrix of all first partial derivatives of a vector-valued function. 2. Mathematical Foundations
- JS divergence
- Symmetric, bounded divergence: average KL of each distribution to their mixture. 5. Similarity / Divergence Measures
K
- k-means
- Clustering that alternates assigning points to the nearest centroid and recomputing centroids. 13. Unsupervised Learning
- k-NN
- Predicting from the labels of the k nearest training points. 12. Nearest-Neighbor & Probabilistic Methods
- Kernel trick
- Computing inner products in a high-dimensional feature space directly via a kernel function. 11. Support Vector Machines
- KL divergence
- Σ P log(P/Q): information lost when Q approximates P. Asymmetric. 5. Similarity / Divergence Measures
L
- Lasso
- Least squares with an L1 penalty; drives some weights exactly to zero. 3. Learning & Generalization
- Linear regression
- Predicting a continuous target as a weighted sum of features plus a bias. 6. Linear Regression
- Logistic regression
- Linear score passed through a sigmoid to model a class probability. 7. Classification
- Loss function
- Cost of a single prediction compared with the truth. 4. Learning as an Optimization Problem
M
- Margin
- Distance between the decision boundary and the nearest training points. 11. Support Vector Machines
- Mini-batch
- Small random subset of the data used for one gradient step. 4. Learning as an Optimization Problem
- MMD
- Maximum mean discrepancy: distance between kernel mean embeddings of two distributions. 5. Similarity / Divergence Measures
- Mode collapse
- GAN failure where the generator produces only a few kinds of output. 16. Advanced Topics
N
- Naïve Bayes
- Classifier applying Bayes' theorem with conditionally independent features. 12. Nearest-Neighbor & Probabilistic Methods
O
- Overfitting
- Fitting noise in the training data: low training error, high test error. 3. Learning & Generalization
P
- Padding
- Adding border pixels around an input so convolution keeps size and edge information. 15. Introductory Neural Networks
- Parameter
- A value learned during training, such as a weight or bias. 1. Introduction to Machine Learning
- PCA
- Principal component analysis: projecting data onto directions of greatest variance. 14. Dimensionality Reduction
- Perceptron
- Single neuron with a step activation, trained by updating weights on mistakes. 15. Introductory Neural Networks
- Pooling
- Downsampling a feature map by taking the max or average over small regions. 15. Introductory Neural Networks
R
- Random forest
- Bagged decision trees that each consider random feature subsets at splits. 10. Decision Trees & Ensemble Learning
- RBF kernel
- Gaussian kernel exp(−γ‖x − z‖²): similarity that decays with distance. 11. Support Vector Machines
- RBM
- Restricted Boltzmann machine: visible and hidden layers with no within-layer connections. 16. Advanced Topics
- Regularization
- Penalising model complexity to improve generalisation. 9. Overfitting and Regularization
- Reinforcement learning
- Learning a policy from rewards by acting in an environment. 1. Introduction to Machine Learning
S
- SGD
- Stochastic gradient descent: updating from one example or a small batch at a time. 4. Learning as an Optimization Problem
- Silhouette score
- Clustering quality per point: (b − a) / max(a, b), from −1 to 1. 13. Unsupervised Learning
- Supervised learning
- Learning to predict labels from labelled examples. 1. Introduction to Machine Learning
- Support vectors
- Training points on or inside the SVM margin that define the boundary. 11. Support Vector Machines
- SVD
- Singular value decomposition X = USVᵀ; the stable way to compute PCA. 14. Dimensionality Reduction
T
- Total variation
- Largest difference in probability two distributions assign to the same event. 5. Similarity / Divergence Measures
U
- Underfitting
- A model too simple to capture the pattern: high training and test error. 3. Learning & Generalization
V
- Validation set
- Data used to compare models and tune hyperparameters. 1. Introduction to Machine Learning
- Variance (model)
- How much a model changes with different training samples; high variance causes overfitting. 3. Learning & Generalization
W
- Wasserstein distance
- Earth mover's distance: minimum cost of transporting one distribution onto another. 5. Similarity / Divergence Measures