0 votes
in Artificial Intelligence by
What is a cost function?

1 Answer

0 votes
by
A cost function is a scalar function that quantifies the error factor of the neural network. Lower the cost function better the neural network. For example, while classifying the image in the MNIST dataset, the input image is digit 2, but the neural network wrongly predicts it to be 3.

Related questions

+1 vote
asked Feb 3, 2021 in Artificial Intelligence by SakshiSharma
+2 votes
asked Feb 6, 2020 in Artificial Intelligence by GeorgeBell
...