Deep Learning
Intermediate
4.5
Activation Functions, Demystified
Why neural networks need non-linearity, and which functions to use.
0h 15m
1 lesson
1.2K students
What You'll Learn
Learning objectives will be added soon.
Tutorial Content
Why non-linearity
Without an activation function, stacking layers just gives another linear function. Non-linear activations let networks learn curves, corners, and complex patterns.
The common ones
- ReLU — fast, simple, the default for hidden layers.
- GELU — smooth ReLU variant used in transformers.
- Sigmoid — squashes to (0,1), used for binary output.
- Softmax — turns scores into a probability distribution for multi-class output.
Rule of thumb
Use ReLU (or GELU) in hidden layers; choose the output activation to match your task (sigmoid/softmax for classification, none for regression).
Your Progress
Sign in to track your progress
Tags
Deep Learning