gpt4 book ai didi

LightGBM plot_tree() 叶数

转载 作者:行者123 更新时间:2023-12-05 07:11:39 27 4
gpt4 key购买 nike

LightGBM plot_tree 方法中的数字代表什么?例如,我使用了 Pima Indian Diabettes 数据集,然后使用 plot_tree 方法生成以下结果: enter image description here

叶子节点上的数字代表什么?

最佳答案

你是指像“leaf 1”、“leaf 2”这样的叶子编号吗?

它们只是代表每个叶子输出的标签。

为了更好地理解它,我建议检查以下 URL:

https://machinelearningmastery.com/visualize-gradient-boosting-decision-trees-xgboost-python/

关于LightGBM plot_tree() 叶数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60713364/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com