Re: Enable ID3 visualization in WEKA
Peter Reutemann <[email protected]> Tue, 19 Sep 2023 09:04:33 +1200
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <CAHoQ12JKcN-NpZ0_Kc+HdNonqXzECnj1s9V_o__qC95Kazs_8g@mail.gmail.com> |
> Good evening, I'm a student here in Brazil and we are using Weka at the university. When we use the ID3 algorithm, it is not possible to view the generated decision tree. Is there a way to enable this option (which is available in J48), just for educational purposes? Unfortunately, no as it would require a code change. Only classifiers that implement the Drawable interface (and have actual implementations) can be displayed like that: https://weka.sourceforge.io/doc.dev/weka/core/Drawable.html And Id3 does not implement that interface: https://weka.sourceforge.io/doc.packages/simpleEducationalLearningSchemes/weka/classifiers/trees/Id3.html Cheers, Peter -- Peter Reutemann Dept. of Computer Science University of Waikato, Hamilton, NZ Mobile +64 22 190 2375 https://www.cs.waikato.ac.nz/~fracpete/ http://www.data-mining.co.nz/ _______________________________________________ Wekalist mailing list -- [email protected] Send posts to [email protected] To unsubscribe send an email to [email protected] To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html