Question: What is the role of the loss function in a neural network?
Options:
Correct Answer: To calculate the gradients for backpropagation
Solution:
The loss function quantifies how well the neural network\'s predictions match the actual target values, guiding weight updates.