Question: What is the primary function of the activation function in a neural network?
Options:
Correct Answer: To introduce non-linearity
Solution:
The activation function introduces non-linearity into the model, allowing it to learn complex patterns.