86 terms from AI, machine learning, deep learning and generative AI, each explained in plain English in one or two sentences,
with a link to a free lesson that goes deeper.
The share of predictions that are correct. Misleading when one class is much more common than the others. Learn more
Activation function
A non-linear function applied inside a neural network, such as ReLU or sigmoid, that lets it learn curved patterns. Learn more
Adam
A popular optimiser that adapts the step size for each parameter using running averages of past gradients. Learn more
Agent
An AI system where a language model decides its own steps in a loop: think, use a tool, look at the result, decide what next. Learn more
Anomaly detection
Finding rare items that differ from the rest, such as fraud or equipment faults. Learn more
Attention
The mechanism in transformers that lets each token weigh and gather information from every other token. Learn more
Autoencoder
A network trained to compress its input into a small code and rebuild it, used for compression, denoising and anomaly detection. Learn more
Backpropagation
The algorithm that computes how much each weight in a neural network contributed to the error, using the chain rule. Learn more
Bagging
Training many models on random resamples of the data and averaging them to reduce variance. Random forests use it. Learn more
Baseline
A deliberately simple model used as a yardstick. A real model has to beat it to be worth using. Learn more
Batch size
How many training examples are used for each update of the weights. Learn more
Bias (in models)
Error from a model being too simple to capture the real pattern, which causes underfitting. Learn more
Boosting
Training models one after another, each correcting the errors of the ones before. Gradient boosting and XGBoost use it. Learn more
Chain of thought
Prompting or training a language model to work through intermediate steps before giving its final answer. Learn more
Classification
Predicting a category, such as spam or not spam. Learn more
Clustering
Grouping similar items without labels, for example with k-means. Learn more
CNN (convolutional neural network)
A neural network that slides small learned filters over images, the standard tool for vision for many years. Learn more
Confusion matrix
A table of predicted against actual classes, counting true and false positives and negatives. Learn more
Context window
The maximum number of tokens a language model can read and write at once, including the prompt and its answer. Learn more
Cosine similarity
A measure of how closely two vectors point in the same direction, used to compare embeddings. Learn more
Cross-entropy
The standard loss for classification: it punishes confident wrong predictions heavily. Learn more
Cross-validation
Estimating performance by training and testing on several different splits of the data and averaging the scores. Learn more
Data leakage
When information that will not be available at prediction time gets into training, making results look better than they are. Learn more
Decision tree
A model that predicts by asking a sequence of yes/no questions about the features. Learn more
Deep learning
Machine learning with neural networks that have many layers. Learn more
Diffusion model
A generative model that learns to turn random noise into an image (or audio, or video) step by step. Learn more
Dimensionality reduction
Representing data with fewer features while keeping most of the information, for example with PCA. Learn more
Dropout
Randomly switching off units during training so a neural network cannot rely on any single one, which reduces overfitting. Learn more
Embedding
A vector of numbers representing a word, sentence, image or item, placed so that similar meanings are close together. Learn more
Epoch
One full pass through the training data. Learn more
Evaluation (of LLM apps)
Measuring whether an LLM application gives good answers, using test sets, rubrics and automatic checks. Learn more
Feature
An input variable a model uses to make a prediction, such as age or the number of rooms. Learn more
Feature engineering
Creating better inputs from raw data, such as ratios, dates split into parts, or text turned into numbers. Learn more
Fine-tuning
Continuing to train a pre-trained model on your own data so it does a specific task or style better. Learn more
Generative AI
Models that create new content (text, code, images, audio) instead of only predicting a label or a number. Learn more
GGUF
A file format for storing language models, often quantised, used by llama.cpp, Ollama and LM Studio to run models locally. Learn more
Gradient
The direction and rate in which a function rises fastest. Training moves the weights against it to lower the loss. Learn more
Gradient descent
Repeatedly taking small steps against the gradient to find the weights that minimise the loss. Learn more
Hallucination
A fluent but false statement produced by a language model. Learn more
Hyperparameter
A setting chosen before training, such as the learning rate or tree depth, and tuned on validation data. Learn more
Inference
Using a trained model to make predictions. (In statistics, it also means drawing conclusions from data.) Learn more
k-means
A clustering algorithm that groups points around k centres, moving each centre to the mean of its points. Learn more
k-nearest neighbours
A method that predicts from the k most similar training examples. Learn more
KV cache
Stored keys and values for tokens a transformer has already read, so it does not recompute them for every new token. It grows with the context length. Learn more
Large language model (LLM)
A transformer trained on huge amounts of text to predict the next token, which lets it answer, write, summarise and code. Learn more
Learning rate
How big a step the optimiser takes at each update. Too big diverges; too small is slow. Learn more
Linear regression
Predicting a number as a weighted sum of the features plus a constant. Learn more
Logistic regression
A linear model that predicts the probability of a class using the sigmoid function. Learn more
LoRA
Low-Rank Adaptation: fine-tuning a large model cheaply by training small add-on matrices while the original weights stay frozen. Learn more
Loss function
A number measuring how wrong the model's predictions are. Training tries to make it small. Learn more
LSTM
A recurrent neural network with gates that help it remember information over long sequences. Learn more
MCP (Model Context Protocol)
An open standard that lets AI apps connect to tools and data through MCP servers, without custom code for each app. Learn more
Mixture of experts (MoE)
A model with many sub-networks ("experts") where only a few are used for each token, so it is fast for its total size. Learn more
MLOps
The practices for deploying, monitoring and maintaining machine learning models in production. Learn more
Neural network
A model made of layers of simple units with learned weights, which together can approximate very complex functions. Learn more
Normalisation (layers)
Rescaling activations inside a network, as in batch or layer normalisation, to make training stable. Learn more
One-hot encoding
Turning a category into separate 0/1 columns, one per possible value. Learn more
Overfitting
When a model learns noise in the training data and does badly on new data. Learn more
PCA (principal component analysis)
A method that finds the directions of greatest variance in data, used to compress and visualise it. Learn more
Precision
Of the cases predicted positive, the share that really are positive. Learn more
Prompt engineering
Writing and testing instructions, examples and structure so a language model gives reliable answers. Learn more
Prompt injection
Text that tries to override an AI app's instructions, typed by a user or hidden in content the model reads. Learn more
Quantisation
Storing model weights with fewer bits (for example 4 instead of 16) so the model uses less memory and runs faster. Learn more
RAG (retrieval-augmented generation)
Searching your documents first and giving the best passages to a language model so it answers from them, with citations. Learn more
Random forest
Many decision trees trained on random resamples and random feature subsets, with their predictions averaged. Learn more
Recall
Of the cases that really are positive, the share the model found. Learn more