Gradient Tree Boosting
My layman's understanding is that binary classification is usually calculated using the logit transform.

I believe then that the residuals are the difference between the response and the predicted probabilities and the default metric for this application is the Area-Under-Curve (AUC).