Machine Learning, Loss Function, Optimisation, Lua, Deep Learning.
Different loss functions will give different errors for the same prediction, and thus have a considerable effect on the performance of the model. One of the most widely used loss function is mean square error, which calculates the square of difference between actual value and predicted value.