In the paper A Tutorial on Energy Based Learning I have seen two definitions:
- Energy function
E(X, Y)
is minimized by inference process: the goal is to find such value ofY
, such thatE(X, Y)
takes is minimal value. - Loss function is a measure of a quality of an energy function using training set.
I understand the meaning of loss function (good example is the mean squared error). But can you explain me what is the difference between energy function and loss function? Can you give me an example of energy function in ML or DL?