Glossary

Applied Machine Learning · 114 terms · each links to where it's taught
Accuracy
The fraction of examples the model labels correctly. Honest when the classes are balanced and every mistake costs the same, misleading otherwise. It is a step function with zero gradient almost everywhere, so you cannot train on it directly: you train on a loss and report accuracy.
Activation function · activation, activations, nonlinearity
The nonlinearity applied after each unit's weighted sum (ReLU, sigmoid, tanh). Without it a stack of layers collapses into one linear map; with it the network can bend. The values it produces are the activations, and keeping their variance stable through the layers is what initialization and normalization are for.
Adam
An adaptive optimizer that keeps per-parameter running averages of the gradient (momentum) and its square (to scale step sizes). A robust default for deep nets, less sensitive to the global learning rate than plain SGD.
AdamW
Adam with decoupled weight decay — applying L2 shrinkage directly to the weights rather than folding it into the gradient (which Adam's scaling otherwise distorts). The standard choice for transformer-era training.
Loshchilov & Hutter 2019, ICLR (AdamW; arXiv 2017)§9 · Initialization, Learning Rate, and Modern Optimizers →
Affine map · affine, affine transformation
A transformation that only shifts and stretches: multiply by a constant, add a constant. Every scaler in Chapter 3 is one, which is why scaling changes a histogram's axis numbers and never its shape.
Batch · mini-batch, minibatch, batch size, batch gradient descent, full-batch gradient descent, full-batch
The training examples one gradient step is computed on, usually a small random handful. Batch gradient descent, also called full-batch, uses the whole training set in each step; mini-batch SGD uses a small random subset, cheaper per step and noisier, and the noise is part of why it works; with a single example in each step it is stochastic gradient descent in the strict sense. Batch normalization uses the word in the same sense: statistics over the current batch.
Batch normalization (BatchNorm) · BatchNorm, BN
Normalize each layer's activations per mini-batch to mean 0 / variance 1, then apply a learnable scale and shift. Its real benefit is smoothing the loss landscape — not, as originally claimed, reducing 'internal covariate shift' — which buys robustness to bad initialization and larger learning rates.
Ioffe & Szegedy 2015, ICML; revisited by Santurkar et al. 2018, NeurIPS§6 · Batch Normalization (and Friends) →
Bias–variance tradeoff · bias-variance decomposition, bias-variance dilemma
Test error decomposes into bias (error from too-simple assumptions), variance (sensitivity to the particular training sample), and irreducible noise. Regularization trades higher bias for lower variance; the classical sweet spot minimizes their sum.
Geman, Bienenstock, Doursat 1992, Neural Computation 4:1–58§4 · Bias and Variance: The Real Reason →
Capacity
How much a model's hypothesis space can hold: roughly, how complicated a pattern it can fit. A low-capacity model can only produce simple shapes, such as a straight line; a high-capacity one can follow the training data closely, noise included. Too little underfits; too much can overfit (classically) or, past the interpolation threshold, generalize again (double descent).
Cardinality · categorical cardinality, high-cardinality, low-cardinality, high cardinality, low cardinality
The number of distinct categories in a categorical column (statisticians call the categories levels). Low cardinality suits one-hot encoding; thousands of categories call for an embedding.
Categorical feature · categorical, categoricals, categorical column, categorical variable
A feature whose values are categories, not quantities: a neighborhood, a garage type. It has to be encoded as numbers before a model can use it.
Class imbalance · imbalance, imbalanced, unbalanced classes
A classification problem where one class is rare, usually the one you care about: fraud, a disease. Accuracy becomes misleading, because always predicting the common class already scores high.
Classification · classifier, classify
A supervised task where the model predicts a category from a fixed set: shoe or shirt, spam or not. Contrast regression, which predicts a number.
Classification threshold · decision threshold, threshold tuning
The cut-off that turns a model's probability into a yes or a no. The default, 0.5, is rarely the best choice when positives are rare; lowering it trades precision for recall without retraining.
Convergence · converge, converged, converges
Training has converged when further steps no longer change the loss meaningfully. Guaranteed for convex losses (linear and logistic regression); for neural networks there is no such guarantee, only a plateau you learn to read. A flat training loss does not mean you are done: check the validation curve before you stop.
Covariance
How two variables move together: the average, over the rows, of (how far the first is from its average) times (how far the second is from its average). Positive when they tend to be above average together. Dividing it by the spread of each variable gives the Pearson correlation.
Cross-entropy loss · cross-entropy, cross entropy, log loss
The standard loss for classification: the negative log of the probability the model assigned to the correct class, averaged over examples. Confident wrong answers are punished hard, which is the point. You train on cross-entropy and hope accuracy follows.
Cross-validation · cross validation, k-fold, k-fold cross-validation
Cut the data into k parts (folds), train k times, and each time score on the part left out. The result is k scores: a mean and a spread, which says how much a single score would have moved with a different split.
Curse of dimensionality · curse of dim
With many features, data becomes sparse: every row ends up far from every other, and distances stop telling near from far. Models built on distance suffer first; feature selection and regularization are the remedies.
Data leakage · leakage, leak, leaks
Letting information from data the model should never see (the test set, or the future) shape a modeling decision. Peeking at the test split, or standardizing with statistics computed on all the data, are the common forms. Every decision made from what you saw in the data is a soft version of it, which is why the split comes first.
Decision tree · decision trees, tree-based
A model that predicts by asking a chain of yes-or-no questions, each about one feature and one cut-off, and giving every group of examples that answer alike the same prediction. It only asks whether a value is above a cut-off, so it does not care about a feature's scale.
Deep learning · deep net, deep neural network
Machine learning with neural networks of many layers, which learn their own intermediate representations instead of being handed features. The inner ring of the nesting: every deep-learning system is machine learning, and every machine-learning system is AI, but not the reverse.
Depth · deep network
How many layers a neural network has. A deep network is one with many layers, which is where deep learning gets its name; later layers build on what earlier ones computed.
Double descent
As capacity grows, test error follows the classical U-curve up to the interpolation threshold, rises briefly, then descends again in the over-parameterized regime — so bigger models can generalize better past the point classical theory predicts disaster.
Belkin, Hsu, Ma, Mandal 2019, PNAS 116(32); Nakkiran et al. 2020, ICLR§10 · When to Stop, and When Not To →
Dropout
During training, randomly zero a fraction of activations each forward pass (rescaling the rest). Breaks neuron co-adaptation and approximates training an exponential ensemble of sub-networks — a variance reduction at test time.
Srivastava, Hinton, Krizhevsky, Sutskever, Salakhutdinov 2014, JMLR 15:1929–1958§5 · Regularization: Why Weakening Helps →
Early stopping
Stop training before convergence, when validation loss stops improving. Limits how far parameters travel from initialization — provably equivalent to L2 regularization for linear least squares, and an implicit regularizer for neural nets.
Elastic Net
Linear regression with the L1 and the L2 penalty added together. It sets weights to exactly zero, as Lasso does, and it tends to keep or drop a group of correlated features together, where Lasso would keep one of them.
Zou & Hastie 2005, JRSS Series B 67(2):301–320§9 · Embedded Methods: Lasso for Selection →
Embedded method · embedded methods
Feature selection that happens inside the training of the model: you fit once, and the fitted model tells you which features it used. Lasso (weights of exactly zero) and the importance scores of tree models are the two examples in this course.
Embedding · embeddings, embedding layer
A short vector of learned numbers that stands for one category, word or item, so that similar ones end up near each other. The alternative to one-hot encoding when a column has thousands of categories.
Empirical risk minimization (ERM) · empirical risk
The formal framing of supervised learning: minimize the average loss over your training sample (empirical risk) as a stand-in for the true expected loss over the whole data distribution, which you can't measure directly.
Ensemble · ensembles, ensembling
Several models whose predictions are combined, by averaging or by adding them up. Random forests and gradient-boosted trees are ensembles of decision trees.
Epoch
One full pass over the training set, however many batches that takes. Training runs for some number of epochs, and losses are recorded at the end of each one, after all of its updates, so the training and validation curves are compared on the same weights.
F1 · F1 score, F1-score
A single number that is high only when both precision and recall are high (their harmonic mean). Useful when classes are imbalanced and accuracy says little.
Feature · input variable, predictor
One measured input the model is given per example: a pixel value, a district's median income. The columns of X. Chapter 2's task has eight of them, and the first job is to look at them before modeling anything.
Feature interaction · interaction between features, joint information
When the effect of one feature on the target depends on another feature, so that the two say little separately and a lot together. XOR is the extreme case: each of two features alone tells you nothing, and the pair tells you everything. Scores computed one feature at a time cannot see it.
Feature selection · selecting features, select features
Choosing a smaller set of features for a model to use. With limited data, fewer features often predict better: every feature that carries no signal is one more thing a model can fit to noise. Three families of methods: filters, wrappers and embedded methods.
Filter method · filter methods
Feature selection that scores each feature on its own, before any model is trained, and keeps the best-scoring ones. Fast, and blind to what features carry only together. Pearson correlation and mutual information are the two scores this course uses.
Flat vs sharp minima
Minima where the loss changes slowly (flat) versus steeply (sharp) around the solution. Flat minima tend to generalize better; large-batch training tends to find sharper, worse-generalizing ones.
Generalization · generalize, generalise, generalisation
Doing well on data the model has never seen, which is the actual objective; fitting the training data is only the means. Measured on a held-out set. The gap between training and held-out performance is the first diagnostic, and a large one is overfitting.
Generalization gap
The difference between a model's performance on training data and on unseen data. A gap that widens as training proceeds is the signature of overfitting.
Gradient
The vector of partial derivatives of the loss with respect to each parameter: the direction in weight space along which the loss rises fastest. Gradient descent steps the other way, scaled by the learning rate.
Gradient checking
Verify an analytic gradient against a numerical finite-difference estimate. A cheap sanity check that catches backprop bugs before they silently wreck training.
Gradient descent · GD
The core optimization method: repeatedly step the parameters in the direction of steepest descent of the loss (the negative gradient), scaled by the learning rate. Differentiability is what makes the search direction computable.
Greedy search · greedy
A search that at each step takes the move that looks best right now, and never reconsiders it. Fast, and it can miss a combination whose parts do not look good one at a time. Forward selection is greedy, and so is the way a decision tree chooses its splits.
Grokking
Delayed generalization: a network memorizes the training set (train accuracy → 100%) while validation stays at chance through a long plateau, then suddenly generalizes much later — often only under strong weight decay.
Power, Burda, Edwards, Babuschkin, Misra 2022, arXiv:2201.02177§10 · When to Stop, and When Not To →
Group normalization (GroupNorm) · GroupNorm
Split channels into groups and normalize within each group across spatial dimensions, independent of batch size. Used for convnets at small batch size (detection, segmentation, video).
He / Kaiming initialization · Kaiming initialization
Initialize weights with variance 2/n_in — twice Xavier's, because ReLU zeros half its inputs. The matched initialization for ReLU networks and PyTorch's nn.Linear default.
Hyperparameter
A knob you set before training rather than one the data sets for you: the learning rate, the batch size, the number of epochs, the regularization strength, the architecture itself. Tuned on the validation set, never on the test set.
Hypothesis space
The set of all functions a model can possibly represent, fixed the moment you choose its architecture. Learning is a search through this space for a function that fits the data and generalizes.
Implicit regularization (of SGD)
Among the many parameter settings that reach zero training loss, stochastic gradient descent systematically prefers ones with good properties (flat minima, small norm, low rank) — regularizing with no explicit penalty term. Part of why over-parameterized nets generalize.
Zhang, Bengio, Hardt, Recht, Vinyals 2017, ICLR§5 · Regularization: Why Weakening Helps →
Impurity importance · mean decrease in impurity, MDI, feature_importances_
A tree model's built-in ranking of its features: how much the splits on each feature lowered the impurity during training, added up over all the trees. Free with the fit, and biased: it favors features with many distinct values, because it is computed on the training rows, where a lucky cut looks as good as a real one.
Strobl, Boulesteix, Zeileis, Hothorn 2007, BMC Bioinformatics 8:25§10 · Embedded Methods: Importance Scores from Trees →
Imputation · impute, imputed, imputer, imputing
Filling a missing value with an estimate: a constant such as the median, the median within a group, or a prediction from the other features. The estimate is computed from the training rows only.
Inductive bias · inductive prior
The assumptions a model makes when the data is silent — the structure it bets on (linearity, smoothness, locality, additivity). Strong inductive bias that matches the data needs less data; a mismatch is what the No Free Lunch theorem charges you for.
Internal covariate shift (ICS) · ICS
The original (2015) explanation for why BatchNorm helps: the shifting distribution of each layer's inputs as upstream weights change. Later shown not to be the real mechanism — artificially re-injecting it after a BN layer doesn't hurt training.
Ioffe & Szegedy 2015 (claim); Santurkar et al. 2018 (refutation)§6 · Batch Normalization (and Friends) →
Interpolation threshold · interpolation regime
The capacity at which a model can exactly fit (interpolate) the training set — training error hits zero. It's the peak of the double-descent curve, the boundary between the classical and modern regimes.
Interquartile range (IQR) · IQR, interquartile range
The spread of the middle 50% of a feature's values: the distance from the 25th to the 75th percentile. Extreme values barely move it, so RobustScaler divides by it.
k-nearest neighbors (kNN) · kNN, KNN, k-nearest neighbors, k-nearest neighbours, nearest neighbors, nearest neighbours
Predict for a new example from the k training examples most similar to it. Everything rests on a distance between examples, so features must be on comparable scales.
L1 regularization (Lasso) · lasso, L1
Penalize the sum of absolute weights. Its diamond-shaped constraint has corners on the axes, so the optimum often lands with many weights exactly zero — producing sparse, feature-selecting models.
Tibshirani 1996, JRSS Series B 58(1):267–288§5 · Regularization: Why Weakening Helps →
L2 regularization (Ridge) · ridge, weight decay, L2
Penalize the sum of squared weights, shrinking them smoothly toward — but never exactly to — zero. Reduces sensitivity to any single training point; equivalent to a circular constraint on the weights.
Label · target, targets, ground truth
The answer that comes attached to a training example: the category of an image, the price of a house. Supervised learning is learning from pairs of input and label; the label is what the model is scored against, and its quality caps what the model can learn.
Layer normalization (LayerNorm) · LayerNorm
Normalize across features within a single example, independent of batch size. The standard normalization for transformers and RNNs; modern usage is usually pre-norm — inside the residual block, before attention/MLP.
Ba, Kiros, Hinton 2016, arXiv:1607.06450§6 · Batch Normalization (and Friends) →
Learning rate · step size
The step-size multiplier on each gradient update. Too small crawls; too large oscillates or diverges; the usable band is bounded on both sides and spans orders of magnitude.
Learning-rate range test · LR range test, LR finder
Find a good learning rate empirically: start tiny, increase it exponentially over a short run, and plot loss vs LR. Pick a value just below where the loss starts to diverge — in the steepest-descent region.
Smith 2015, arXiv:1506.01186§7 · The Learning Rate Knob →
Learning-rate schedule · cosine annealing, warmup
Vary the learning rate over training rather than holding it fixed — big steps early, small steps late. Cosine annealing, optionally with a warmup, is the modern default.
Loshchilov & Hutter 2016 (cosine annealing / SGDR)§9 · Initialization, Learning Rate, and Modern Optimizers →
Logistic regression
A linear model for classification: a weighted sum of the features passed through a function that squeezes it into a probability between 0 and 1. A threshold then turns the probability into a yes or a no.
Loss · loss function, objective, objective function, training loss
The number that says how wrong the model's predictions are on the examples in front of it, and the thing gradient descent pushes down. Chosen for a smooth gradient (mean squared error, cross-entropy), so it is not the same as the metric you report; the gap between the two is the surrogate problem.
Loss landscape
The surface of the loss as a function of the model's parameters. Architecture choices (residual connections, normalization) shape how smooth or rugged it is, which determines how easily gradient descent can navigate it.
Li, Xu, Taylor, Studer, Goldstein 2018, NeurIPS§7 · The Optimization Landscape →
Lottery ticket hypothesis
A large randomly-initialized network contains a small sub-network (a 'winning ticket') that — reset to its original init and trained alone — matches the full network. Reframes over-parameterization as a wider lottery, not just more room to overfit.
Manifold
A lower-dimensional surface inside a space with more dimensions. Real data (houses, faces, sentences) does not fill the space of all its columns evenly: it lies close to such a surface, because the columns are related to one another. The number of directions the data really varies in, its intrinsic dimension, is far smaller than its number of columns, which is why feature selection and dimensionality reduction work.
Maximum a posteriori estimate · maximum a posteriori, posterior
The weights that are the most probable once a prior belief has been combined with the data. Under a bell-curve prior on the weights, it is exactly the Ridge solution; under a Laplace prior, the Lasso solution.
Metric · evaluation metric
What you measure to judge the model against the real goal (accuracy, dollar error, F1), as opposed to the loss you optimize. If you measure it, you are optimizing it: the model will exploit every shortcut the metric leaves open, so choose one that matches what you actually care about.
Missingness · missing values, missing value, missing-value indicator
The fact that a value is missing, and the pattern of which values are. It is often information in itself: a missing pool quality means there is no pool. The values themselves are just called missing values.
Model
A function with adjustable parameters that maps an input to a prediction. Choosing the family of functions is the architecture, training picks the parameters, and the model is what you are left with. The only fair test of it is data it has never seen.
Multicollinearity · collinear, collinearity
Features that are strongly correlated with one another, so that they carry the same information more than once. A linear model then cannot tell which of them deserves the weight: its predictions may stay fine while its weights swing from one sample to the next.
Mutual information
How much knowing one variable reduces the uncertainty about another. Zero when the two are independent, and larger the more one narrows the other down. Unlike Pearson correlation it sees any kind of relationship, not only a straight line; it needs more data to estimate.
Naive baseline
The simplest possible predictor — e.g. always predict the training mean or the majority class. Every real model must beat it; if it can't, the problem, features, or pipeline are the issue, not the model.
NaN · not a number
"Not a number": the marker pandas and NumPy put where a value is missing. It also appears when a computation breaks, such as a loss that blew up; in a data table it means the entry is empty.
Neural network · neural net, neural nets
Layers of simple units, each computing a weighted sum of its inputs followed by a nonlinearity, stacked so that later layers work on features the earlier ones learned. Chapter 8 opens one up. The first model in this course is not one, and does better than you might expect.
No Free Lunch theorem
Averaged over all possible target functions, no learning algorithm beats any other on inputs it has not seen (including random guessing). Practically: every model that works does so by betting on structure that real data happens to have.
Wolpert 1996, Neural Computation 8(7):1341–1390§2 · Representation: The Hypothesis Space →
One-hot encoding · one-hot, one hot, OneHotEncoder
Turning a categorical column into one new column per category, holding 1 in the row's own category and 0 in all the others. It invents no order between categories, and it makes the table wider.
Optimizer · optimiser
The update rule that turns a gradient into a step: vanilla gradient descent, or one of its descendants (momentum, Adam, AdamW), each fixing a known pathology of the plain version, such as oscillating across a narrow valley or using one learning rate for every parameter. A search strategy, not a different objective.
Ordinal and nominal categories · ordinal, nominal
Ordinal categories have an order (poor, fair, typical, good, excellent); nominal ones are labels with no order (a neighborhood). The difference decides the encoding: integers that keep the order for ordinal, one column per category for nominal.
Ordinal encoding · OrdinalEncoder
Turning an ordered categorical column into a single column of integers that keeps the order (0, 1, 2, ...). On a column with no real order it invents one, which a linear model will take seriously.
Outlier · outliers
A value far from all the rest, such as one enormous lot among ordinary ones. Outliers pull means and standard deviations toward themselves, which is why a scaler built on the median and the IQR handles them better.
Overfitting
When a model fits the training data's noise, not just its signal — low training error but high error on unseen data (a wide generalization gap). The variance side of the bias–variance tradeoff.
Oversampling and SMOTE · oversampling, oversample, SMOTE
Oversampling copies rows of the rare class until the classes are level; SMOTE invents new rare-class points between real ones that are near each other. Both change the data the model sees, and both belong inside each cross-validation fold, on the training rows only.
Parameters · weights, weight, parameter
The numbers inside the model that training adjusts: in a linear model one weight per feature plus a bias, in a network every connection. Learning is choosing these numbers. Everything you set by hand instead is a hyperparameter.
Pearson correlation · Pearson, Pearson correlation coefficient, correlation coefficient
A number between −1 and 1 that says how closely two variables follow a straight-line relationship: the sign gives the direction, and the size gives the strength. It sees straight lines only: a perfect curve such as y = x² can have a correlation near zero.
Permutation importance
How much a trained model's score drops when the values of one column are shuffled, on rows the model has not seen. A large drop means the model was relying on that column. It is not misled by how many values a feature has; correlated features hide each other from it.
Pipeline · ColumnTransformer
In scikit-learn, a chain of preprocessing steps and a model that is fit and applied as one object, so every step is fit on the same training rows and reused unchanged on validation and test. ColumnTransformer is the piece that sends different columns through different steps.
Precision
Of the examples the model flagged as positive, the fraction that really are positive. It falls when the model raises more false alarms.
Preprocessing · preprocess, pre-processing
Everything done to a raw table to turn it into numbers a model can learn from: filling or flagging missing values, encoding categories, scaling. Every step that learns something from data is fit on the training rows only.
Prior belief · prior distribution, Bayesian prior
What you believe about the answer before you see the data, written as a probability distribution. The data then updates it. A penalty on the weights is a prior in this exact sense: the L2 penalty says every weight is probably small, and the L1 penalty says most weights are probably at zero or very near it, with a few that may be large.
Random forest · random forests
Many decision trees, each grown on a different random sample of the rows, whose predictions are averaged. Averaging many trees varies less than any single tree.
Recall
Of the examples that really are positive, the fraction the model caught. Flagging everything gives perfect recall and terrible precision, so the two are read together.
Regression · regressor
A supervised task where the model predicts a number on a continuous scale: a house price, a temperature. Contrast classification, which predicts a category. Linear regression and logistic regression share the name for historical reasons; logistic regression is a classifier.
Regularization
Any technique that deliberately weakens a model's fit to the training data to improve generalization — almost always a variance-reduction tool whose price is a little extra bias. Tikhonov introduced the method (stabilizing ill-posed problems with a penalty) in 1943; the term itself comes from his 1963 work.
Tikhonov 1943 (method); Tikhonov 1963, Soviet Math. Doklady 4:1035–1038 (term)§5 · Regularization: Why Weakening Helps →
RMSE (root mean squared error) · RMSE, root mean squared error, root-mean-squared error
Square every error, average them, take the square root: the typical size of a miss, in the target's own units. On a log price, an RMSE of 0.13 is a typical miss of about 13% of the price.
R² (R squared) · R², R squared, R-squared, coefficient of determination
The share of the target's variation that a model accounts for: 1 is a perfect fit, 0 is no better than always predicting the average, and below 0 is worse than that.
Saddle point
A point where the gradient is zero but the surface curves up in some directions and down in others. In high dimensions these — not local minima — are the dominant obstacle for gradient descent.
Dauphin et al. 2014, NIPS§7 · The Optimization Landscape →
Sentinel · sentinel value, sentinel category
A special stand-in value that flags a state instead of estimating a number. For a categorical column, a literal category such as "None" meaning "this thing does not exist".
Skewed distribution · skew, skewed, right-skewed, skewness
A distribution that is lopsided: most values sit in one range and a long tail stretches to one side. House prices are right-skewed, with a few very expensive houses; taking the log pulls the tail in.
Standardization · feature scaling, z-scoring
Rescale each feature to mean 0 / unit variance, fitting the scaler on the training set only and applying it to validation and test. Fitting on all the data leaks test statistics into training.
Stochastic gradient descent (SGD) · mini-batch gradient descent, mini-batch SGD, true SGD
Gradient descent that computes each step on a random part of the training set instead of all of it. Strictly, it uses one example in each step ("true SGD"); with a small random batch it is mini-batch SGD, which is what is nearly always run and what "SGD" usually means in practice. Cheaper per step than using the whole training set, and the gradient noise itself regularizes; batch size trades gradient accuracy against steps-per-second and the sharpness of the minimum found.
Subgradient · Karush-Kuhn-Tucker conditions, KKT
At a corner of a function, where there is no single slope, any slope between the one on the left and the one on the right. The absolute value has a corner at zero, with every slope from −1 to +1 allowed there, which is why the L1 penalty can hold a weight at exactly zero. The conditions for a minimum written with subgradients are the Karush-Kuhn-Tucker conditions.
Supervised learning · supervised
Learning from examples that come with the answers attached: pairs of input and label, and a model whose job is to produce the label for inputs it has never seen. The workhorse of the field and of this course. Classification and regression are both inside it.
Train / validation / test split · training set, train set, validation set, test set, held-out set, held-out, holdout, hold-out
Partition the data before anything else: train to fit parameters, validation to tune hyperparameters and pick models, test to estimate final performance exactly once. Touching test during development leaks information and inflates your estimate.
Underfitting
When a model is too simple to capture the data's real structure — high error on both training and unseen data. The bias side of the bias–variance tradeoff.
Universal approximation theorem · UAT
A neural network with one hidden layer can approximate any continuous function as closely as you like, given enough units. The theorem says good weights exist, not how many units you need or how to find them.
Cybenko 1989, MCSS 2(4):303–314; Hornik, Stinchcombe, White 1989; Leshno, Lin, Pinkus, Schocken 1993 (any activation that is not a polynomial, which covers ReLU)§2 · Representation: The Hypothesis Space →
Unsupervised learning · unsupervised
Learning from data with no answers attached: finding clusters, structure, or a compressed description. Often a preprocessing step for supervised learning rather than an alternative to it, and sometimes what tells you that you asked the wrong question.
Width · wide
How many units a layer of a neural network has. A wider hidden layer can make more bends, so the network can fit more complicated functions.
Wrapper method · wrapper methods, forward selection, backward selection
Feature selection that asks the model itself: train it with and without a feature, and keep the feature if the validation score improves. Forward selection adds one feature at a time; backward selection removes one at a time. It judges features with the model you will use, at the cost of many model fits.
Xavier / Glorot initialization · Glorot initialization
Initialize weights with variance 2/(n_in + n_out) so activation variance is preserved through the network. Designed for tanh/sigmoid activations (symmetric around 0).
XGBoost · gradient boosting, gradient-boosted trees, boosted trees
A library for gradient-boosted trees: hundreds of small decision trees built one after another, each fit to the errors the earlier ones still make, with their outputs added up. Usually the model to beat on tables of mixed features.