Applied ML

Glossary

Every Applied ML term in plain words, with the module that teaches it. Inside modules, any word with a dotted underline explains itself.

Applied ML · 81 terms

A

AUC
Area under the ROC curve: the chance a randomly chosen positive gets a higher score than a randomly chosen negative. 0.5 is guessing, 1 is perfect ranking.
Learn it in “Accuracy, precision and recall” →
AutoML
Tools that automatically try many models and settings and pick the best on validation data; a strong baseline, not a replacement for framing the problem.
Learn it in “The ML tool landscape” →

B

Bagging
Training many models on random resamples of the data and averaging their predictions, which smooths out jumpy models.
Learn it in “Random forests and gradient boosting” →
Baseline
A simple reference answer, such as always guessing the most common outcome or a rule of thumb, that a model must clearly beat to be worth using.
Learn it in “Framing the problem” →
Bayesian optimisation
A tuning strategy that uses the results of earlier trials to decide which settings to try next.
Learn it in “Hyperparameter tuning” →
Bias–variance trade-off
The tension between models that are too simple and consistently wrong (bias) and models so flexible they change with every sample (variance).
Learn it in “Overfitting and regularisation” →
Boosting
Building an ensemble one model at a time, with each new model focusing on the examples the previous ones got wrong.
Learn it in “Random forests and gradient boosting” →
Brier score
The average squared gap between predicted probabilities and actual 0/1 outcomes. Lower is better.
Learn it in “Probabilities you can trust” →

C

Calibration
How well a model's predicted probabilities match reality: of the cases it gives 70%, about 70% should happen.
Learn it in “Probabilities you can trust” →
Churn
Customers leaving: cancelling a subscription or not coming back. Each business decides exactly what counts.
Learn it in “The ML project lifecycle” →
Class imbalance
When one outcome is much rarer than the others, such as fraud among card payments, so accuracy becomes misleading.
Learn it in “Rare events and imbalanced data” →
Classification
Predicting which category something belongs to, such as spam or not spam, or which of several teams should handle a ticket.
Learn it in “Framing the problem” →
Clustering
Grouping similar items together without labels, for example splitting customers into segments.
Learn it in “Clustering and dimensionality reduction” →
Concept drift
A change in the relationship between inputs and the right answer, so the same inputs now lead to different outcomes.
Learn it in “Drift and monitoring” →
Confusion matrix
A table counting a classifier's true positives, false positives, false negatives and true negatives.
Learn it in “Accuracy, precision and recall” →
Cross-validation
Splitting the training data into k chunks, training k times with a different chunk held out each time, and averaging the scores.
Learn it in “Training, validation and test sets” →

D

Data drift
A change in the inputs a model sees compared with its training data, such as a new kind of customer; industry shorthand, also called covariate shift.
Learn it in “Drift and monitoring” →
Data leakage
Information a model won't have in real use sneaking into training or evaluation, making test scores look far better than real performance.
Learn it in “Data leakage” →
Decision threshold
The score above which a classifier says “yes”. Moving it trades false alarms against misses.
Learn it in “Accuracy, precision and recall” →
Decision tree
A model that makes predictions by asking a series of yes/no questions about the features, like a flowchart ending in leaves.
Learn it in “Decision trees” →

E

Ensemble
A model made by combining many models, whose errors partly cancel out.
Learn it in “Random forests and gradient boosting” →
Experiment tracking
Recording each training run's settings, data version, code and scores so results can be compared and reproduced.
Learn it in “The ML tool landscape” →
Exponential smoothing
A family of forecasting methods that average past values with weights that shrink for older points; Holt–Winters adds trend and seasonality.
Learn it in “Forecasting time series” →

F

Feature
One piece of information about an example that a model uses as input, such as a customer's age or the words in an email.
Learn it in “What machine learning is” →
Feature engineering
Turning raw data such as dates, categories and event logs into numeric features that help a model learn.
Learn it in “Feature engineering” →
Feature scaling
Putting numeric features on comparable ranges, for example mean 0 and spread 1, so no feature dominates just because of its units.
Learn it in “Feature engineering” →
Feature store
A shared system where features are defined once and served with the same values for training and for live predictions.
Learn it in “Serving models” →

G

Gini impurity
A score for how mixed a group is: 0 when every example has the same outcome, highest for an even mix. Trees choose splits that reduce it.
Learn it in “Decision trees” →
Gradient boosting
Boosting where each new tree is fitted to the ensemble's remaining errors, scaled by a learning rate. XGBoost, LightGBM and CatBoost implement it.
Learn it in “Random forests and gradient boosting” →
Gradient descent
Training by repeatedly nudging the weights a small step in the direction that reduces the loss fastest.
Learn it in “Linear and logistic regression” →

H

Hyperparameter
A setting chosen before training, such as tree depth or learning rate, as opposed to the parameters a model learns from data.
Learn it in “Hyperparameter tuning” →

K

k-means
A clustering method that repeatedly assigns each point to the nearest of k centres and moves each centre to the average of its points.
Learn it in “Clustering and dimensionality reduction” →

L

Label
The answer attached to a training example, such as “spam” or a house's sale price, that a supervised model learns to predict.
Learn it in “What machine learning is” →
Learning curve
A chart of training and validation error as the amount of training data grows, used to diagnose overfitting or underfitting.
Learn it in “Overfitting and regularisation” →
Learning rate
How big each gradient-descent step is. Too small and training crawls; too big and it overshoots or diverges.
Learn it in “Linear and logistic regression” →
Linear model
A model whose prediction is a starting amount plus each feature multiplied by a learned weight.
Learn it in “Linear and logistic regression” →
Logistic regression
A linear model for yes/no outcomes: the weighted sum goes through an S-shaped sigmoid curve to give a probability.
Learn it in “Linear and logistic regression” →
Loss function
A formula that scores how wrong a model's predictions are, such as the mean of squared errors. Training tries to make it as small as possible.
Learn it in “Linear and logistic regression” →

M

Machine learning
Getting computers to learn patterns from examples instead of following rules a person wrote by hand.
Learn it in “What machine learning is” →
MAE
Mean absolute error: the average size of a model's misses, in the same units as the target.
Learn it in “Measuring regression errors” →
MAPE
Mean absolute percentage error: misses as a percentage of the true value. Breaks when true values are zero and favours under-forecasting.
Learn it in “Measuring regression errors” →
MLOps
Engineering practices that automate training, testing, deploying and monitoring ML models, applying DevOps ideas to data and models.
Learn it in “The ML project lifecycle” →
Model monitoring
Watching a deployed model's inputs, predictions, data quality, business results and (once known) accuracy, to notice when it stops working well.
Learn it in “Drift and monitoring” →
Model registry
A catalogue of model versions with their data, code, metrics and labels such as which version is in production.
Learn it in “Serving models” →
Model serving
Making a trained model answer real questions: in batches ahead of time, on demand per request, on a stream of events, or on a device.
Learn it in “Serving models” →

N

Nested cross-validation
An inner cross-validation loop chooses hyperparameters while an outer loop scores the whole tuning procedure on data it never saw, giving an honest estimate.
Learn it in “Hyperparameter tuning” →

O

Odds ratio
How many times the odds of an outcome multiply when a feature goes up by one unit. In logistic regression it is e raised to the weight.
Learn it in “Linear and logistic regression” →
One-hot encoding
Turning one category column into several yes/no columns, one per possible value.
Learn it in “Feature engineering” →
Overfitting
When a model learns the quirks and noise of its training data so closely that it does worse on new data.
Learn it in “Decision trees” →

P

Partial dependence plot
A chart of a model's average prediction as one feature is varied while the others keep their real values.
Learn it in “Explaining predictions” →
PCA
Principal component analysis: finds the directions in which data varies most, so many columns can be summarised by a few.
Learn it in “Clustering and dimensionality reduction” →
Permutation importance
How much worse a model scores on held-out data when one feature's column is shuffled; a model-agnostic measure of what the model relies on.
Learn it in “Explaining predictions” →
Population Stability Index (PSI)
A score from credit scoring for how much a feature's distribution has moved between two periods; under 0.1 is usually read as little change and over 0.25 as significant.
Learn it in “Drift and monitoring” →
Precision
Of the cases a model flags as positive, the share that really are positive.
Learn it in “Accuracy, precision and recall” →
Proxy label
A measurable stand-in for what you really want to predict, such as clicks for enjoyment or cost for health need. Proxies can introduce bias.
Learn it in “Framing the problem” →

R

Random forest
An ensemble of decision trees, each trained on a random resample of the data and limited to random features at each split, that vote on the answer.
Learn it in “Random forests and gradient boosting” →
Ranking
Predicting an order for a list of items, such as which customers to call first or which products to show first.
Learn it in “Framing the problem” →
Recall
Of all the real positive cases, the share the model catches. Also called sensitivity or true positive rate.
Learn it in “Accuracy, precision and recall” →
Regression
In machine learning, predicting a number, such as a price or a delivery time.
Learn it in “Framing the problem” →
Regularisation
Adding a penalty for complexity, such as large weights, so a model can't bend too far to fit noise. Ridge (L2) and lasso (L1) are common forms.
Learn it in “Overfitting and regularisation” →
Reinforcement learning
Learning which actions to take by trial and error, guided by rewards.
Learn it in “What machine learning is” →
Reliability diagram
A chart of predicted probability against how often the outcome actually happened, in bins. Perfect calibration lies on the diagonal.
Learn it in “Probabilities you can trust” →
Residual
The gap between an actual value and a model's prediction for it.
Learn it in “Measuring regression errors” →
RMSE
Root mean squared error: squares misses before averaging, then takes the square root, so large misses count much more.
Learn it in “Measuring regression errors” →
ROC curve
A chart of true positive rate against false positive rate at every threshold, showing a classifier's whole trade-off.
Learn it in “Accuracy, precision and recall” →
Rolling-origin evaluation
Testing a forecaster by training up to a date, forecasting the next stretch, then sliding the date forward and repeating; also called backtesting.
Learn it in “Forecasting time series” →

S

Seasonality
A pattern that repeats on a calendar rhythm, such as busy Saturdays or a December peak.
Learn it in “Forecasting time series” →
SHAP
SHapley Additive exPlanations: splits one prediction into per-feature pushes up or down from the average prediction, which add up exactly to the prediction.
Learn it in “Explaining predictions” →
SMOTE
Synthetic Minority Over-sampling Technique (2002): creates extra rare-class examples by interpolating between real ones. Often unnecessary for strong models.
Learn it in “Rare events and imbalanced data” →
Supervised learning
Learning from examples that come with the right answer (a label), to predict answers for new examples.
Learn it in “What machine learning is” →

T

Tabular data
Data arranged in rows and columns, like a spreadsheet: one row per customer or transaction, one column per fact about it.
Learn it in “What machine learning is” →
Target encoding
Replacing each category with the average outcome for that category. Must be computed out-of-fold, or it leaks the answer.
Learn it in “Feature engineering” →
Target leakage
A feature that is only known after the outcome, such as a cancellation reason when predicting cancellations.
Learn it in “Data leakage” →
Test set
Examples kept sealed until the end and used once to estimate how the final model will do on new data.
Learn it in “Training, validation and test sets” →
Time series
Measurements taken in time order, such as daily sales, where the order matters and the future isn't in the training data.
Learn it in “Forecasting time series” →
Train–test contamination
Test data influencing training, for example by fitting a scaler, encoder or feature selector on all the data before splitting.
Learn it in “Data leakage” →
Training set
The examples a model learns from.
Learn it in “Training, validation and test sets” →
Training-serving skew
A gap between how a model performed in training and how it performs live, often because live inputs are prepared differently from training data.
Learn it in “Serving models” →

U

Underfitting
When a model is too simple to capture the real pattern, so it does poorly even on its training data.
Learn it in “Overfitting and regularisation” →
Unsupervised learning
Finding structure, such as groups or unusual items, in data that has no labels.
Learn it in “What machine learning is” →

V

Validation set
Examples held back from training and used to compare models and choose settings.
Learn it in “Training, validation and test sets” →

General terms · shared by every track

A

ACID
Four guarantees for transactions: Atomic (all or nothing), Consistent (rules hold), Isolated (concurrent work doesn't interfere), Durable (once done, it stays done).
Learn it in “ACID on object storage” →
Atomic
All or nothing. An atomic change either happens completely or not at all, and nobody ever sees it half done.
Think of it as: Handing over a sealed envelope: the other person has it or doesn't. There's no half-handed envelope.
Learn it in “Object storage: the ground floor” →

B

Batch processing
Processing data in scheduled chunks, such as every night or every hour.
Learn it in “Getting data in” →

C

CSV
Comma-separated values: plain text, one row per line. Easy to read, slow and large for analytics, and no schema.
Learn it in “Rows vs columns: file formats” →

I

Idempotent
Safe to run twice: running the job again gives the same result instead of duplicating data.
Learn it in “Medallion architecture” →

J

JSON
A text format of nested key-value objects, like {"id": 7}. Common for app events and APIs, and used by Delta's transaction log.
Learn it in “Rows vs columns: file formats” →

M

Metadata
Data about data: which files exist, their schema, sizes and statistics. Engines read metadata first to plan work.
Learn it in “What makes a table a table” →

S

Schema
The structure of a table: its column names and types, such as order_id: long, amount: decimal.
Learn it in “Schema evolution & enforcement” →
SQL
The standard language for querying tables: SELECT … FROM … WHERE …
Learn it in “Hands-on: query in your browser” →
Streaming
Processing data continuously as it arrives, within seconds or minutes.
Learn it in “Getting data in” →

T

Transaction
A group of changes that succeeds or fails as one unit.
Think of it as: A money transfer: debit one account and credit the other, or do neither.
Learn it in “ACID on object storage” →