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