This paper summarizes and analyzes 31 classical loss functions in machine learning from the aspects of traditional machine learning and deep learning respectively and mainly selects object detection and face recognition to introduces their loss functions.