Skip to main content

AI From Zero to Builder

Glossary

Canonical, learner-first definitions for recurring terms used across the curriculum, labs, and project work.

Use this page when a technical word interrupts the lesson. Definitions are intentionally short: enough to recover the idea and continue learning, while the Lessons provide the deeper context.

116 of 116 terms

A

accuracyEvaluation
The number of correct predictions divided by the number of examples tested.
First taught in L0.6 · Your First AI Experiment
admission controlProduction
A rule that decides whether new work may start now, wait in a queue, or be rejected based on available capacity and limits.
agentAgents
A system that repeatedly chooses its next action from new observations instead of following a fixed script, within bounds the application sets. In reinforcement learning, "agent" also names the learner that chooses actions.
First taught in L11.1 · What Makes an Agent
agent harnessAgents
Application code around an agent that manages state, tools, permissions, retries, traces, budgets, and other execution rules.
artifactAgents
A result produced by a task, such as a file, report, structured record, or other output that can be tracked separately from messages.
attentionModels
A way to build a new representation by mixing information from other allowed positions, with larger or smaller weights depending on the current content.
First taught in L5.1 · Why Attention

B

backoffReliability
Waiting longer before another retry so repeated failures do not cause a rapid retry loop.
backpressureProduction
Slowing or limiting new work when downstream parts of a system are already near capacity.
baggingClassical ML
Training multiple models on bootstrap samples and aggregating their predictions to reduce dependence on one training sample.
baselineEvaluation
A simple reference strategy, such as always guessing the most common class, that a model must beat to show real improvement.
First taught in L0.10 · Fair Comparisons and Baselines
blast radiusSecurity
The amount of data, users, systems, or actions that one failure or compromised component could affect.
boostingClassical ML
Building an ensemble sequentially so each new weak learner improves errors left by the current ensemble.

C

canaryProduction
A small early release that sends limited traffic to a candidate version before a wider rollout.
capabilityProtocols
A specific action, resource, interface, or skill that a system says it can provide.
cardinalityObservability
The number of distinct values or label combinations in a dataset or metric; very high metric cardinality can be expensive to store and query.
categorical featureData
A feature whose values represent categories or groups rather than a numeric amount with meaningful arithmetic spacing.
class imbalanceEvaluation
A target distribution in which one class is much more common than another, which can make headline accuracy misleading.
conditioningModels
Extra information supplied to a generative model—such as a class label, text representation, or another signal—to steer what kind of sample it produces.
contrastive learningModels
A training approach that makes representations of matching examples more similar relative to non-matching examples.
cosine similarityRetrieval
A similarity score that compares vector direction after accounting for vector length.
cross-attentionModels
Attention where queries come from one stream, such as a decoder target stream, while keys and values come from another stream, such as encoder source representations.

D

data exfiltrationSecurity
Protected information leaving a system and reaching a destination that is not authorized to receive it.
data minimizationPrivacy
Collecting, sending, and keeping only the data needed for a declared purpose.
decision treeClassical ML
A model that predicts by following recursively learned feature-and-threshold splits from a root node to a leaf.
decoder-only TransformerModels
A Transformer family whose target self-attention is causal so each position can use only its visible prefix; it is commonly used for autoregressive next-token generation.
degraded modeProduction
A reduced version of a service that keeps the most important work running when full capacity or functionality is unavailable.
delegationAgents
Giving a bounded subtask to another agent or worker while keeping limits on its tools, budget, authority, and expected result.
denoisingModels
Estimating and removing corruption from a noisy example so it moves toward a cleaner data-like state.
diffusion modelModels
A generative model family trained from progressively corrupted data and used to generate samples by starting from noise and repeatedly denoising.
Direct Preference Optimization (DPO)Model adaptation
A preference-optimization method that trains a policy directly from chosen-versus-rejected examples relative to a reference policy, without a separate reward-model-plus-RL optimization loop.
dot productMath & retrieval
A number produced by multiplying matching vector components and adding the results; it can reflect both alignment and vector magnitude.
dual encoderModels
An architecture that encodes two inputs or modalities separately and compares the resulting representations, often with a similarity score.
durable stateReliability
State stored so it can still be recovered after a process, worker, or machine stops.

E

embeddingModels
A learned vector that represents an item, such as a word or a category, so useful relationships can be compared mathematically.
First taught in L3.10 · Embeddings as Learned Coordinates
encoder-decoder TransformerModels
A Transformer family with an encoder that represents a source input and a causal decoder that generates a target while attending to the encoder representations.
encoder-only TransformerModels
A Transformer family that contextualizes a provided input, commonly with bidirectional self-attention, and returns representations for understanding tasks rather than generating a target sequence autoregressively.
ensembleClassical ML
A model whose prediction combines the outputs of multiple fitted predictors.
evictionProduction
Removing stored or cached data to free limited memory for other work.
explorationReinforcement learning
Choosing actions partly to gather information about alternatives instead of always taking the action currently estimated to be best.

F

featureData
A piece of input information given to a predictor, such as practice minutes or sleep hours.
First taught in L0.4 · Features and Labels
fine-tuningModel adaptation
Continuing training on a target task with some or all pretrained parameters unfrozen, so the target loss can update the reused representation.
First taught in L3.12 · Fine-Tuning a Small Encoder

G

generative adversarial network (GAN)Models
A generative model family that trains a generator to produce samples while a discriminator learns to distinguish generated examples from real ones.
gradientTraining
The local uphill direction of the loss. Gradient descent moves the parameters in the opposite direction.
First taught in L1.6 · Gradient Descent and Learning Rate
graph neural network (GNN)Models
A neural-network family that updates representations using graph structure, such as information from neighboring nodes and their relationships.

H

headroomProduction
Capacity deliberately left unused during normal operation so the system can absorb bursts, retries, or failures.

I

idempotency keyReliability
A stable identifier that lets repeated attempts be recognized as the same intended operation instead of new operations.
imputationData
Filling missing feature values with a defined rule, often using statistics learned from training data.
inferenceModels
Running a trained model on input to produce predictions, scores, embeddings, or generated output.

J

jitterReliability
A small variation added to retry timing so many workers do not all retry at exactly the same moment.

K

K-meansUnsupervised ML
A clustering algorithm that assigns points to k centers and repeatedly updates assignments and centers to make clusters more compact.
k-nearest neighbors (k-NN)Classical ML
A method that predicts from the labels or values of nearby training examples under a chosen distance measure and number of neighbors k.
knowledge distillationModels
Training a student model to imitate useful behavior from a teacher model, often to produce a smaller or cheaper model while measuring what quality is preserved.
KV cacheProduction
Stored attention key and value state from earlier tokens that lets later generation steps reuse work instead of recomputing all prior attention state.

L

labelData
The target answer attached to an example when we want to teach or evaluate a supervised prediction task.
First taught in L0.2 · Rules, Examples, and Data
Lasso regressionClassical ML
A linear-model extension that adds an L1 penalty to discourage large coefficients and can drive some fitted coefficients exactly to zero.
latencyProduction
How long a request or operation takes from a chosen start point to a chosen completion point.
learning rateTraining
The setting that controls how far each gradient-descent update moves the parameters.
First taught in L1.6 · Gradient Descent and Learning Rate
least privilegeSecurity
Giving a user, agent, tool, or process only the permissions and data access needed for its current job.
LLMModels
A large language model: a model trained on large amounts of text that generates by predicting the next token from the context so far.
First taught in L7.1 · How Modern LLMs Behave
load sheddingProduction
Rejecting or dropping some lower-priority work when accepting everything would overload the system.
localityProduction
Keeping data close to the compute that uses it so transfers cost less time and bandwidth.
lossTraining
A number that measures how far predictions are from the targets; training adjusts the model to make it smaller.
First taught in L1.1 · What Machine Learning Is Really Optimizing

M

masked-token objectiveModels
A training objective that hides or corrupts selected input tokens and asks the model to reconstruct them from the surrounding provided context.
Mixture of Experts (MoE)Models
An architecture in which a router sends each token or example to a subset of expert networks, separating total parameter capacity from the expert computation active for one input.
modelModels
The reusable part of an AI system that turns input information into an output using learned or chosen settings.
First taught in L0.1 · Meet AI: Patterns, Predictions, and Decisions

N

Naive BayesClassical ML
A probabilistic classifier that combines class probabilities with feature evidence under a simplifying conditional-independence assumption.
neural networkModels
A model that computes intermediate values in hidden layers before its final output, so it can learn useful representations from inputs such as images or text.
First taught in L2.1 · Why Neural Networks

O

observabilityObservability
Collecting and connecting enough traces, metrics, and logs to explain how a system behaved without guessing.
one-hot encodingData
Representing each category with its own indicator feature rather than inventing a numeric order among categories.
operation IDReliability
An identifier for one intended operation that can connect retries, completion evidence, and audit records.
overfittingEvaluation
Fitting the training examples so closely, even memorizing them, that the model performs much worse on new examples than its training score suggests.
First taught in L0.5 · Training Data and Test Data

P

p95Evaluation
The 95th percentile: a value that 95% of measured observations are at or below.
PCAUnsupervised ML
Principal Component Analysis, a method that projects numeric data onto fewer directions chosen to preserve as much variation as possible.
policy (reinforcement learning)Reinforcement learning
A rule or parameterized model that maps the information available to an agent to an action choice or action distribution.
precisionEvaluation
When the model predicted positive, how often it was right: true positives divided by all positive predictions.
First taught in L1.11 · Metrics Beyond Accuracy
preemptionProduction
Pausing or removing active work so limited resources can be given to other work.
prefillProduction
The generation phase that processes the input tokens already present before one-token-at-a-time decoding continues.
principalSecurity
The trusted user, service, or other identity on whose behalf an action would occur.
provenanceEvidence
Information about where a piece of data, result, or claim came from and how it reached the current system.

Q

quantizationModels
Representing model numbers with fewer bits or a more compact numeric format to reduce storage or computation costs, with possible quality and compatibility tradeoffs.

R

RAGRetrieval
Retrieval-augmented generation: a workflow that first retrieves relevant evidence, places it in the model's context, and then generates an answer.
First taught in L9.1 · Why Retrieval-Augmented Generation
Random ForestClassical ML
An ensemble of decision trees trained with bootstrap samples and random feature subsets, then aggregated for the final prediction.
recallEvaluation
Of all actual positives, how many the model found: true positives divided by all actual positives.
First taught in L1.11 · Metrics Beyond Accuracy
reconciliationReliability
Checking durable or external evidence to determine what actually happened before deciding whether to repeat an uncertain operation.
reinforcement learningReinforcement learning
Learning a decision policy from repeated interaction in which an agent takes actions and receives reward feedback from an environment.
rerankingRetrieval
Scoring a smaller set of retrieved candidates more carefully to improve their final order.
residual riskSafety
Risk that still remains after the planned controls have been applied.
return (reinforcement learning)Reinforcement learning
Accumulated reward across multiple steps, often with later rewards discounted, used to represent longer-term consequences of actions.
reward modelModel adaptation
A learned model that maps prompt-response behavior to a scalar preference-like score that can guide policy optimization; the score is a proxy rather than a guarantee of truth or safety.
Ridge regressionClassical ML
A linear-model extension that adds an L2 penalty to discourage large coefficients while keeping the prediction as a weighted combination of features.
RLHFModel adaptation
Reinforcement learning from human feedback: a family of approaches that uses human preference evidence to shape a reward-like signal and optimize model behavior.
rollbackProduction
Routing or deploying future work back to an earlier known version after a candidate release fails its gates.

S

sandboxSecurity
An execution environment that limits what files, network destinations, devices, or resources a process can reach.
schemaInterfaces
A machine-readable description of the fields, types, and structure that data is expected to follow.
shared embedding spaceRetrieval
A learned vector space in which representations from different modalities can be compared using the same similarity measure.
side effectReliability
A change outside the current computation, such as charging money, sending a message, deleting a file, or updating a record.
sliceEvaluation
A group of evaluation cases inspected separately because its behavior may matter on its own, such as one task type or risk category.
spanObservability
One timed operation inside a trace, such as queue wait, model inference, or a tool call.
statelessProtocols
Designed so one request carries the information needed at that boundary instead of depending on hidden per-session protocol state.
support vector machine (SVM)Classical ML
A model family that learns a decision boundary with a margin between classes; kernel methods can extend the idea to nonlinear boundaries.

T

tenantSecurity
One customer, organization, or isolated account boundary in a system that serves multiple groups.
test setData
Test data held back and used to evaluate the chosen predictor, so it gives a check that did not guide the choice.
First taught in L0.5 · Training Data and Test Data
thrashingProduction
Repeatedly moving, evicting, or recomputing data so aggressively that the overhead reduces useful progress.
threat modelSecurity
A structured description of what must be protected, which actors and boundaries exist, how failure or attack could happen, and where controls should stop it.
throughputProduction
How much useful work a system completes per unit of time, such as requests or tokens per second.
time-series forecastingModels
Predicting future values from past observations while preserving time order and accounting for effects such as trend, seasonality, forecast horizon, and leakage.
tokenModels
A piece of text that a tokenizer handles as one unit; the tokenizer also gives each token an integer ID.
First taught in L4.1 · Text Is Not Numbers Yet
traceObservability
A connected record of the operations that one request or task passed through.
training setData
The training data: examples used to choose or learn the predictor.
First taught in L0.5 · Training Data and Test Data
TransformerModels
A neural network built from repeated blocks that combine attention, feed-forward layers, residual connections, and normalization.
First taught in L5.13 · Transformer Block: Putting the Pieces Together
trust boundarySecurity
A place where data or requests cross between components that should not automatically trust one another.

U

unsupervised learningClassical ML
Learning structure from input features X without being given a target label y to predict.

V

validation setData
A third split used for tuning and comparing candidates, so the test set can stay untouched until the final check.
First taught in L0.5 · Training Data and Test Data
variational autoencoder (VAE)Models
A generative latent-variable model that learns an encoder and decoder while regularizing the latent distribution so new latent samples can be decoded into data-like examples.
vector normMath & retrieval
A measure of vector length; in cosine similarity it is used to normalize magnitude.
version preconditionReliability
A rule that accepts an update only if the stored version still matches the version the writer previously read.