Plain English

Glossary

Plain-English definitions of the terms used across the site.

  • 64 terms
  • 18 with a page of their own
A/B test
Showing two versions to random groups of users and comparing real outcomes.
Accuracy
Share of predictions that are correct. Misleading when one class is rare.
Active learning
Choosing which examples to label next by asking the model which ones it’s least sure about, so each label teaches it more. Read the full explanation of active learning
API
A web address your app sends a request to and gets an answer back from. For example, send an email’s text and get back “spam” or “not spam”.
AutoML
Tools that try many models and settings for you and pick the best one. A good way to get a strong result without ML expertise.
Backtesting
Testing a forecast by pretending to be at several past dates and comparing predictions to what actually happened.
Baseline
The simplest reasonable solution. Your model must beat it to be worth deploying. Read the full explanation of baseline
Batch
Scoring a whole dataset at once on a schedule, say every night, instead of answering requests one at a time.
Chunks
Small passages a document is split into so the most relevant pieces can be retrieved.
Class imbalance
When one category is much rarer than others (e.g. 1% fraud). Read the full explanation of class imbalance
Cohen’s kappa
A score for agreement between two labelers that corrects for chance: 1 is perfect agreement, 0 is no better than chance. Read the full explanation of Cohen’s kappa
Cold start
The problem of recommending for brand-new users or items with no history.
Collaborative filtering
Recommending from what similar people did (“customers who bought this also bought”), without needing to know anything about the products themselves.
CPU
A computer’s ordinary processor. Fine for spreadsheet-style models and small jobs, and much cheaper than a GPU.
Cross-validation
Testing a model several times on different slices of the data and averaging the scores, so the result doesn’t depend on one lucky split. Read the full explanation of cross-validation
Data augmentation
Creating extra training examples by slightly modifying existing ones (flip, crop, recolor).
Data drift
When live data starts looking different from the training data, which usually degrades accuracy. Read the full explanation of data drift
Data leakage
When training data contains information that won’t exist at prediction time — results look strong in testing and then fail in production. Read the full explanation of data leakage
Docker
A way to package your code with everything it needs, so it runs the same on your laptop and on a server.
Edge
Running the model on the device itself (a phone, browser, camera or machine) instead of in the cloud. Fast and private, but the model must be small.
Embeddings
Lists of numbers that capture meaning; similar texts get similar embeddings. Read the full explanation of embeddings
F1 score
The balance between precision and recall in one number (0–1). Good for imbalanced classes. Read the full explanation of F1 score
Few-shot
Showing a model a handful of worked examples in the prompt, instead of training it, so it follows the pattern. Read the full explanation of few-shot
Fine-tuning
Continuing to train a pretrained model on your own data so it specializes. Read the full explanation of fine-tuning
Golden set
A fixed list of test questions with known good answers used to measure quality after every change.
GPU
A graphics chip that does many calculations at once. It makes training and running big models (images, text, speech) much faster, but costs more than a CPU.
Groundedness
Whether the answer is actually supported by the retrieved documents, not made up.
Hallucination
When a language model states something confidently that is not true.
High availability
Set up so the service keeps running even if a server fails, usually by running copies in more than one place.
Hit rate
For recommendations: the share of customers who went on to buy at least one of the products you would have shown them.
Inference
Using a trained model to make predictions.
Inter-annotator agreement
How often two people labeling the same examples give the same label, beyond what chance alone would give. Low agreement means the labeling rules are unclear. Read the full explanation of inter-annotator agreement
Kubernetes
A system that runs many Docker containers across several servers and keeps them up. Powerful, but only worth it at real scale.
Label noise
Wrong labels in the training or test data. A few percent is normal; the model learns from the mistakes and the test score is measured against them.
Lag feature
A feature built from an earlier value of what you’re forecasting, such as sales on the same day two weeks ago.
Latency
How long you wait for an answer after asking. Measured in milliseconds (ms): 1,000 ms is one second.
Linear regression
Fits a straight line (or plane) through the data. The simplest baseline for predicting numbers.
Logistic regression
A simple, fast model that draws a straight boundary between classes. A strong baseline.
MAE
Mean Absolute Error — on average, how far off predictions are, in real units. Read the full explanation of MAE
Managed service
A cloud product where the provider runs the servers for you, such as SageMaker or Google’s Gemini platform. It costs more, but there’s much less to set up and look after.
MAP
Mean Average Precision — the standard accuracy score for object detection.
MAPE
Mean Absolute Percentage Error — average error as a percentage of the true value.
Matrix factorization
Describing every customer and every product with a few numbers (their “tastes”), learned so that customers end up close to the products they buy.
MLOps
Practices and tools for reliably deploying, monitoring and updating ML models.
NDCG
Ranking quality score that rewards putting the most relevant items at the top.
Notebook
An interactive document, such as Jupyter, where you run code in small pieces and see the results and charts right under each piece.
Overfitting
When a model memorizes its training data, noise included, so it scores well on data it has seen and badly on new data. Read the full explanation of overfitting
Precision
Of everything the model flagged, how much was actually correct. Read the full explanation of precision
Pretrained model
A model someone else already trained on lots of data. You can use it as it is, or adapt it to your task with far less data.
RAG
Retrieval-Augmented Generation — look up relevant documents first, then let the LLM answer using them. Read the full explanation of RAG
Recall
Of everything that should have been flagged, how much the model found. Read the full explanation of recall
Recall@K
Of the items a user actually liked, how many appear in the top K recommendations.
RMSE
Root Mean Squared Error — like MAE but punishes large errors more. Read the full explanation of RMSE
ROC-AUC
How well the model ranks positives above negatives across all thresholds. 0.5 = random, 1.0 = perfect. Read the full explanation of ROC-AUC
Seasonal naive
A forecast that repeats the value from the same point in the previous season (e.g. last week).
Serverless
Running code without looking after a server: the cloud starts it when needed and you pay only while it runs. Cheap for occasional jobs.
Supervised learning
Training a model on examples that come with the right answer (a label), so it learns to predict that answer for new examples.
TF-IDF
Turns text into numbers by counting words, down-weighting very common ones. Read the full explanation of TF-IDF
Transfer learning
Starting from a model already trained on a very large dataset and adapting it to your task with far less data. Read the full explanation of transfer learning
Unsupervised learning
Finding patterns in data that has no right answers attached, like grouping similar customers or spotting unusual events.
Vector database
A database that finds items with the most similar embeddings quickly.
WAPE
Weighted Absolute Percentage Error: the total forecast error as a share of total actual sales. Unlike MAPE, it still works when some days sell nothing.
WER
Word Error Rate — share of words the transcription got wrong. Lower is better.
Zero-shot
Using a model on a task without giving it any training examples for that task. Read the full explanation of zero-shot