AI & DataIntermediate
Activation Function
PronunciationAK-tih-VAY-shun FUNK-shun
Definition
An activation function is a small function applied to each neuron's output in a neural network, such as ReLU or softmax. It adds non-linearity, which lets the network learn complex patterns instead of just straight-line relationships.
Where you hear it
In neural network code and courses, model architecture descriptions and debugging dead neurons.
Examples
ReLU is the usual activation between hidden layers.
Softmax turns the final scores into probabilities.
Without an activation function, stacking layers would still behave like one linear layer.
Common mistake
Stacking layers with no activation. They collapse into a single linear layer and learn nothing extra.
Don't confuse with
A loss function, which measures the error at the end. Activations act inside the network.
Say it at work
- In a meeting or chat
Which activation do you use here?
- In an email or ticket
Swap ReLU for GELU and compare.