Describe the mathematical intuition behind a specific loss function and when to use it in applied machine learning.