Loss Function, Data Science, Heartbeat, Data Science For Ml.
the advantages of Huber loss, and it’s twice differentiable everywhere, unlike Huber loss. Why do we need a 2nd derivative? Many ML model implementations like XGBoost use Newton’s method to find the optimum, which is why the second derivative (Hessian) is needed. For ML frameworks like XGBoost,