Re: Installing weka on ubuntu
Peter Reutemann <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <CAHoQ12+LzCJ92NopsQ2JfnNHg6NQa0tgA9cjjB+bL0v3m+0vtA@mail.gmail.com> |
> 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