如何确定 Weka 学习的树中信息量最大的特征

发布于 2024-09-26 09:05:34 字数 77 浏览 0 评论 0原文

我使用 weka 训练 J48 分类器,它返回树的文本表示。 现在,如果我想确定哪个功能信息最丰富,我该如何进行?欢迎任何想法。 提前致谢。

I used the weka to train a J48 classifier,and it returned a textual representation of tree.
Now if I want to determine which feature is the most informative,how could I proceed?Any idea is welcomed.
Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

z祗昰~ 2024-10-03 09:05:34

“信息最丰富的特征”可能是指“信息增益最高的特征” 。

如果是这样,我认为 J48 算法构建决策树,使得第一个(或最高)决策树中的节点与具有最高信息增益的特征相关联。

如果这是正确的,那么您应该能够查看树的顶部来确定哪个功能信息最丰富。

It's possible that by "the most informative feature" you mean "the feature with the highest information gain".

If so, I think the J48 algorithm constructs decision trees such that the first (or highest) node in the decision tree is associated with the feature that has the highest information gain.

If that's correct, then you should be able to look at the top of your tree to determine which feature is the most informative.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文