What is the primary purpose of a loss function in training neural networks?
Answer options
A
To quantify the difference between predicted and actual values
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)
Correct answer: To quantify the difference between predicted and actual values
Explanation
The correct answer is: To quantify the difference between predicted and actual values.