I am confused now about the loss functions used in XGBoost. Here is how I feel confused: we have objective, …