你好,个人认为,BinomialDeviance损失函数中,计算loss的公式有问题,类似于sklearn包中的损失计算,此处的正确的公式应该是:-2.0(y*f - log(1 + exp(f))),代码中是-2.0(y*f - (1 + exp(f)))