Any function, that associates a numeric "cost" to an event could be a loss function. An optimisation problem, such as training a Neural Network is, has the goal to minimise this loss function.
Any function, that associates a numeric "cost" to an event could be a loss function. An optimisation problem, such as training a Neural Network is, has the goal to minimise this loss function.