Machine Learning, Gradient Boosting, Data Science, Towards Data Science, Loss Function.
and miss the flight, it really sucks. If we use machine learning to decide when to leave the house, we might want to take care of this risk asymmetry directly in our model, by using a custom loss function that penalizes late errors much more than early errors. Another common example occurs in