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