Re: Installing weka on ubuntu
Hayden Wimmer <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <CAPfRow=KS1jpRyUd_GbY4zcOD_GddHRO+TDz_rW-u_19-4L0mA@mail.gmail.com> |
Perfect! Many thanks. I know on Windoze there used to be a weka.ini that could be modified but I didn't see that file anymore. Thanks again! On Thu, Nov 4, 2021, 10:36 PM Peter Reutemann <[email protected]> wrote: > > Many thanks for your email. I knew it was something stupid. The > instructions I saw said to run the weka.sh > > Ah, I see. I'm an old time Weka user, so didn't know that there was a > script for that now... That weka.sh script worked fine for me though. > > > Another question. is there a way I can adjust the amount of memory weka > uses? I have a machine with 64gb and want to allow weka to use up to 32 > > You can use the -Xmx option for that, e.g., using 32GB as heap size: > java -Xmx32g -jar weka.jar > > If you want to run classifiers directly, rather than the UI, use > something like this: > java -Xmx32g -cp weka.jar weka.classifiers.trees.J48 <other options> > > Using the above script with 32GB heap (from the directory with the > weka.jar): > _JAVA_OPTIONS=-Xmx32g ./weka.sh > > BTW I'm using the bash shell. > > Cheers, Peter > -- > Peter Reutemann > Dept. of Computer Science > University of Waikato, NZ > +64 (7) 858-5174 (office) > +64 (7) 577-5304 (home office) > http://www.cms.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 > _______________________________________________ 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