Hi there. 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.
+4
A:
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.
Nate Kohl
2010-10-05 22:36:05
very much makes sense,thanks Nate.
Robert
2010-10-05 22:54:56