Re: Use of GPU & ipynb format
Peter Reutemann <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <CAHoQ12K=_OsZiuMcT9Hydf5-ZmJ6H9JuVJg_vH8eZCwPXZnQZg@mail.gmail.com> |
> I use Weka withgreat enthousiasm but my CPU is too slow for some algortithms. Hence the following questions: > 1. To be able to run some applications/algorithms I would like to use my GPU. As far as I understand that is not possible within Weka. Correct? Software has to be developed with GPU usage in mind (and rely on hardware-specific libraries like NVidia's CUDA) to make this work. Weka not only predates this, but was also designed to work cross-platform. > 2. I would also like to run some of the algorithms within Google Colab. For that I would like access to the ipynb files related to the Weka algorithms. Are these available from a website? Quite some time ago, I posted on how you can use a Java kernel in Jupyter to run Weka: https://waikato.github.io/weka-blog/posts/2019-03-29-jupyter/ https://waikato.github.io/weka-blog/posts/2019-04-02-jupyter-windows/ There are only two example notebooks (which come with your Weka installation): https://svn.cms.waikato.ac.nz/svn/weka/trunk/wekaexamples/src/main/notebook/ Alternatively, you could use python-weka-wrapper3 to write more Python-like code: https://github.com/fracpete/python-weka-wrapper3 Notes on Colab: http://fracpete.github.io/python-weka-wrapper3/install.html#colab Example code: https://github.com/fracpete/python-weka-wrapper3-examples 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