Jump to content

User:Jimmy Novik/Cost Function

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Jimmy Novik (talk | contribs) at 02:06, 2 December 2020. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The cost function is a function that describes how well a machine learning algorithm approximates some function , or, in other words, how close our algorithm is at achieving its main purpose of predicting the output based on a given input.


Most of the time the cost function being used is the cross-entropy between the training data and the model’s predictions.


The cost function is given by:


,


Which gets expanded to:


Extra

Mean square distance function