You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dkpro-tc-users
Hi all,
I was wondering when using the J48 classifier from Weka (which is an implementation of the C4.5 decision tree algorithm), is it possible to actually examine this decision tree? That is, if I have trained such a tree during a text classification experiment, how can I look at the results? I would like to evaluate which attributes were used at which node or level in the tree.
Thanks a lot.
Cheers,
Martin
Johannes Daxenberger
unread,
Sep 21, 2015, 8:54:55 AM9/21/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Martin Wunderlich, dkpro-tc-users
Hi Martin,
I can¹t think of any way to implement this in DKPro TC without modifying
the TestTask; you would probably have to serialize the model after
training and then add a dedicated report which reads the trained model and
writes the graph to a file.
However, since the Weka GUI has a nice interface which can display the
graph as a tree, you could also use DKPro TC to extract features (i.e.
write an ARFF file) and then load your ARFF into the Weka GUI and train
(and visualize) your decision tree there.
>--
>You received this message because you are subscribed to the Google Groups
>"dkpro-tc-users" group.
>To unsubscribe from this group and stop receiving emails from it, send an
>email to dkpro-tc-user...@googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.
Martin Wunderlich
unread,
Sep 22, 2015, 1:24:08 AM9/22/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Johannes Daxenberger, dkpro-tc-users
Hi Johannes,
Thanks a lot for the hint about using the Weka GUI. I’ll give it a try.