문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top