Loss Function in Machine Learning