作者interwise613 (BG蔚)
看板Python
标题[问题] 关於xgboost的node预测值
时间Thu Jul 23 19:13:57 2020
大家好,想请问大家xgboost的python套件有没有办法给出每个node的预测值?
我用.tree_to_dataframe()能得到每个node+leaf的gain,但node和leaf给出的gain意思似
乎不同,leaf的gain值是预测值,而node的gain就是每个分割点的改善程度?
但我想知道的是如果我只走到某个node,我可以得到这个node的预测值吗?谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 114.32.162.16 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1595502839.A.2DC.html
1F:嘘 za2b3g345671: 07/26 13:00
2F:→ Starcraft2: 看一下这篇简体文章 07/31 15:43