Re: J48 training algorithm

Peter Reutemann <[email protected]> Wed, 5 Jul 2023 08:48:59 +1200
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12JggAunB1AX9B=W45oGgC9997LYarZM03yrJ3ZA2cn0=Q@mail.gmail.com>
> Could please someone tell me in which files of Weka, the J48 *training*
> algorithm resides?

Main class is weka.classifiers.trees.J48:
https://git.cms.waikato.ac.nz/weka/weka/-/blob/main/trunk/weka/src/main/java/weka/classifiers/trees/J48.java

Classes used by J48 are located in package weka.classifiers.trees.j48:
https://git.cms.waikato.ac.nz/weka/weka/-/tree/main/trunk/weka/src/main/java/weka/classifiers/trees/j48

NB: The above are links to the developer version (3.9.x).

Weka installations come with their respective source code in the
weka-src.jar archive. Just unpack the source archive with an archiver
program that can handle zip files, like 7-zip or such. Source classes
are located below the "src/main/java" directory (just like in the
links above).

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