Loss Functions in Machine Learning