Generative AI
Accenture DumpmediumGenerative AIFundamentals of ML - Post Quiz

What is the role of the loss function in training a neural network?

Answer options

A
To activate the neurons
B
To quantify the difference between predicted and actual
C
values
D
To define the network architecture
E
To introduce non-linearity
F
To initialize the weights

Correct answer: To quantify the difference between predicted and actual, values

Explanation

The loss function's role in training a neural network is to quantify the difference between predicted and actual values, providing the error signal used by backpropagation to update weights. Options [1] and [2] together form the complete answer: 'To quantify the difference between predicted and actual values.'

Related Accenture Generative AI questions

Practice more Accenture Generative AI questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.