Find a course

Neural Networks Explained glossary

35 terms you will meet in the free Neural Networks Explained course, each explained in one or two sentences.

A

Activation function
A nonlinear function applied to a neuron's weighted sum, such as ReLU, sigmoid or tanh. Without it, stacked layers collapse into one linear layer.
Attention
A mechanism that lets each token weigh every other token by comparing queries with keys and taking a weighted sum of values.

B

Backpropagation
An algorithm that uses the chain rule to compute the gradient of the loss with respect to every parameter in one backward pass.
Batch
A small group of training examples processed together before one weight update.
Bias
A learned number added to a neuron's weighted sum that shifts its threshold, like a weight on an input that is always 1.

C

Chain rule
The calculus rule that the derivative of a chain of functions is the product of the derivatives of each link.
Convolution
An operation in which a small filter of weights slides across an input, computing a weighted sum at each position to produce a feature map.
Cross-entropy
The standard classification loss: the negative natural logarithm of the probability assigned to the correct class.

D

Dropout
A regularization method that randomly switches off a fraction of neurons during each training pass.

E

Embedding
A learned vector that represents a token or other item so that similar items get similar vectors.
Epoch
One complete pass through the whole training set.

F

Forward pass
Computing a network's output from an input by passing values through each layer in turn.

G

Gradient
The vector of partial derivatives of the loss with respect to every parameter; it points in the direction of steepest increase.
Gradient descent
An optimization method that repeatedly moves parameters a small step against the gradient to reduce the loss.

H

Hidden layer
A layer between input and output whose neurons compute intermediate features.
Hyperparameter
A setting chosen by the developer rather than learned, such as the learning rate, batch size or number of layers.

L

Learning rate
The step size in gradient descent; too small makes training slow, too large makes it unstable.
Loss function
A formula that measures how wrong a prediction is; training tries to minimize the average loss.

M

Mean squared error
The average of squared differences between predictions and targets; the standard loss for regression.

N

Neuron
The basic unit of a neural network: it computes a weighted sum of its inputs plus a bias and passes the result through an activation function.

O

Overfitting
When a model learns the training data, including its noise, so well that it performs worse on new data.

P

Parameter
Any value learned during training, mainly weights and biases.
Pooling
A downsampling step, usually taking the maximum of each small block, that shrinks feature maps without learned weights.
Precision
Of all positive predictions, the fraction that were actually positive: TP / (TP + FP).

R

Recall
Of all actual positives, the fraction the model found: TP / (TP + FN).
Recurrent neural network
A network that processes a sequence step by step, carrying a hidden state that acts as memory.
Regularization
Any technique that discourages overfitting, such as dropout, weight decay, data augmentation or early stopping.
ReLU
Rectified linear unit, max(0, z): the most common activation for hidden layers because it is cheap and does not saturate for positive inputs.

S

Sigmoid
The function 1 / (1 + e^−z), which squeezes any number into the range 0 to 1; used for yes/no probability outputs.
Softmax
An output function that turns a vector of scores into probabilities that are positive and sum to 1; used for multi-class classification.

T

Test set
Data kept untouched until the end and used once to report final performance.
Transformer
An architecture built from stacked self-attention and feed-forward layers; the basis of modern language models.

V

Validation set
Data held out from training and used to tune hyperparameters and decide when to stop.
Vanishing gradient
The shrinking of gradients as they are multiplied through many layers, which makes early layers learn very slowly.

W

Weight
A learned number that sets how strongly one input or neuron influences another; training adjusts the weights.

Put these terms to work

The Neural Networks Explained course uses every one of these terms in short lessons with instant-feedback questions. It takes about 165 minutes and ends with a free certificate of completion.

Start the course Course overview