作者interwise613 (BG蔚)
看板DataScience
标题[问题] 关於xgboost每个node的预测值
时间Thu Jul 23 11:38:49 2020
大家好,想请问大家xgboost的python套件有没有办法给出每个node的预测值?
我用.tree_to_dataframe()能得到每个node+leaf的gain,但node和leaf给出的gain意思似
乎不同,leaf的gain值是预测值,而node的gain就是每个分割点的改善程度?
但我想知道的是如果我只走到某个node,我可以得到这个node的预测值吗?谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 61.216.74.73 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/DataScience/M.1595475531.A.490.html
1F:推 billchen123: 借题发问,请问如何取得training後的weight 08/04 16:46