对于此,可以看一下 sklearn 的 GradientBoostingClassifier 的文档,说的很清晰:GB builds an additive model in a forward stage-wise fashion; it allows for the optimization of arbitrary differentiable loss functions.
划重点:differentiable loss functions。Gradient Boosting Classifier 是一个逐渐优化可微分的损失函数的过程。