Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Glossary

Every defined term in this course, A–Z.

The share of predictions a classifier got exactly right.

The simplest model you compare every fancier model against.

Calibration curve

Read the section →

A plot of observed frequency against predicted probability, checking whether a model's confidence is honest.

Classification

Read the section →

Predicting a category, not a number -- spam or not-spam, not a price.

Coefficient

Read the section →

The number a model multiplies a feature by -- how much that feature moves the prediction.

A number measuring whether two quantities tend to rise and fall together.

The full collection of examples a model learns from or is tested on.

Decision boundary

Read the section →

The line (or surface) separating one predicted class from another.

A tree diagram recording every merge in hierarchical clustering, in order.

Design matrix

Read the section →

The whole dataset as one matrix -- one row per sample, one column per feature.

Distribution

Read the section →

The full pattern of which values are common and which are rare for some quantity.

A dense vector representation of text, placing similar meanings close together.

Epistemic vs. aleatoric uncertainty

Read the section →

Uncertainty from limited knowledge (reducible) vs. genuine randomness (irreducible).

A number computed from data that stands in for a true, usually unknown, value.

Explained variance ratio

Read the section →

The proportion of a dataset's total variance one principal component captures.

Feature vector

Read the section →

One data sample's measurements, written as a single vector.

Generalization

Read the section →

A model's ability to perform well on data it never saw during training.

Generative classifier

Read the section →

A classifier that models each class's own feature distribution, then applies Bayes' theorem.

Gini impurity

Read the section →

A measure of how mixed a tree leaf's classes are, used to choose splits.

The direction and steepness of a function's fastest increase -- used to know which way to step to reduce error.

Hyperparameter

Read the section →

A setting chosen before training, not learned from the data.

Replacing a missing value with a principled substitute.

Kernel function

Read the section →

A similarity measure between two points, substituted for the inner product to fit a nonlinear boundary.

Lag feature

Read the section →

A past value used as a predictor for the current time step.

Leaf (terminal node)

Read the section →

A final, unsplit region of a decision tree, holding its own prediction.

Learning curve

Read the section →

A plot of training and validation error against training set size.

Squashes any number into a value between 0 and 1, so it can be read as a probability.

Multicollinearity

Read the section →

High correlation between two or more features themselves, not between a feature and the target.

One-hot encoding

Read the section →

Replacing a categorical feature with one binary column per category.

Out-of-bag (OOB) error

Read the section →

A free validation estimate from bagging, using each tree's own left-out bootstrap samples.

The internal numbers a model adjusts during training.

A fixed sequence of data-processing and modeling steps, chained so they run the same way every time.

Of everything predicted positive, how much actually was.

The model's guess at the answer for one input.

Preprocessing

Read the section →

Cleaning and reshaping raw data before a model ever sees it.

Probability

Read the section →

A number between 0 and 1 measuring how likely something is.

Of everything actually positive, how much the model caught.

Predicting a number, not a category -- a house price or a temperature, not a yes/no label.

Regularization

Read the section →

Adding a penalty term to a model's loss to discourage overly large or complex fits.

How far a prediction was from the true value: y minus y-hat.

Responsibility

Read the section →

The posterior probability, under the current model, that a point belongs to a given mixture component.

Synthetic Minority Oversampling Technique -- generates new minority-class points by interpolation.

Standardization

Read the section →

Rescaling a feature to have mean 0 and standard deviation 1.

Support vector

Read the section →

A training point sitting on, or violating, the margin -- the only points that determine the fitted boundary.

Target leakage

Read the section →

A feature that is a consequence of the target, not a genuine predictor available beforehand.

Target vector

Read the section →

The known correct outputs, one per data sample.

Data touched exactly once, at the end, to report a model's final performance.

A text feature weight combining how often a word appears in one document with how rare it is overall.

Training set

Read the section →

The subset of samples a model actually learns from.

Validation set

Read the section →

Held-back data used repeatedly during development to tune hyperparameters and compare models.