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