繁体   English   中英

Python中的xgboost:预测,梯度,粗麻布和损失函数的定义在哪里?

[英]xgboost in Python:where are the definitions of predictions, gradient, hessian and loss function?

我正在搜索具有以下定义的代码块

  • 物流损失
  • 预测
  • 梯度
  • 黑森矩阵

xgboost在其Python实现中使用的https://github.com/dmlc/xgboost/tree/master/python-package/xgboost(*

我可以使用Chen和Guestrin的原始论文(可从https://arxiv.org/abs/1603.02754获得 )来分析得出上述公式,但是我需要深入研究代码。

有人可以指出这些定义在(*)中的位置吗? 快速搜索后,我什么也没找到。

这些应该使用C / C ++实现,以提高性能,所以我认为您无法在/python-package下找到它们。

您应该查看: https : //github.com/dmlc/xgboost/tree/master/src

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM