Reference · STOR 323

Glossary: ML Pipeline

The compressed vocabulary from Lecture 3. Extend this file as later lectures add terms — don't redefine terms elsewhere.

Core pipeline

TermMeaning
Task T / Experience E / Performance PThe operational definition of "learning": performance on T improves through experience E, measured by P.
Learning algorithm AA fixed procedure. Reads a dataset D, returns a fitted map: A(D) = f̂_D.
Fitted model f̂_DData-dependent state produced by training. Stores what was learned; changes when D changes.
TrainingPhase 1: examples → fit → reusable fitted map. D --A--> f̂_D
DeploymentPhase 2: new input becomes an action. x --f̂_D--> s --δ--> a (predict, then decide, then act).
Decision rule δMaps a score/probability s to an action a. Belongs to the deployed system, not the model.

Model families

TermMeaning
Model family 𝓕The set of candidate functions {f_θ : X → S | θ ∈ Θ} considered before seeing data. Limits what can possibly be learned.
Fitted stateWhat a specific model family stores after training — e.g. coefficients (linear regression), 10 coefficient vectors (softmax regression), or the training set + a metric (kNN).
Parametric vs. nonparametricParametric models (linear/softmax regression) compress D into a fixed-size parameter vector. Nonparametric models (kNN) keep D itself as the fitted state.
SoftmaxConverts per-class logit scores z_k(x) into a probability distribution over classes: p_k = e^{z_k} / Σ e^{z_j}.
LogitA raw per-class score before softmax normalization — "evidence, not probability."
ArgmaxConverts a probability vector into a single predicted label by picking the highest-probability class.
kNN (k-nearest neighbors)Classifies a query point by majority vote among its K nearest training points, under a chosen distance metric.

Evaluation

TermMeaning
MSEMean squared error — average squared distance between predicted and actual numeric values. Answers "how far?" Misses downstream action cost.
ROC / AUCReceiver operating characteristic curve / area under it — measures how well a score ranks positives above negatives across all thresholds. Answers "how well ordered?"
Confusion matrixCounts of TP / FP / FN / TN at one fixed decision threshold. Answers "which errors, and how many?"
Threshold tThe cutoff on a score s(x) that turns it into a binary action: δ_t(s) = 1{s ≥ t}. Changing t trades TPR against FPR — it does not change the underlying model.
TPR (true positive rate / sensitivity)TP / (TP + FN) — fraction of actual positives correctly flagged.
FPR (false positive rate)FP / (FP + TN) — fraction of actual negatives incorrectly flagged.
Group fairness gapThe same threshold t applied to the same model can produce very different FPR/FNR across subgroups G = g. "Equal rule ≠ equal burden."
Something here unclear, or you spot an error? Ask your teaching agent — that's what it's for.