will be a high value like larger than zero so this is happy this is not happy so let's give some examples of this we can formulate almost any machine learning problem in terms of an energy function let's say we have a classifier the classifier is takes as an input image here may be of a cat and the label so if the label is cat then the energy will be zero if the energy function is of course working correctly and if but if we give the energy function the same image but we give it a wrong label dog then it is very high in the case of the