Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fracpete/python-weka-wrapper-examples

Example code for the python-weka-wrapper project.
https://github.com/fracpete/python-weka-wrapper-examples

examples python27 weka

Last synced: 2 days ago
JSON representation

Example code for the python-weka-wrapper project.

Awesome Lists containing this project

README

        

# END OF LIFE

**Python 2.7 has reached its [end-of-life in 2020](https://pythonclock.org/), you should consider
using the [Python 3 version](https://github.com/fracpete/python-weka-wrapper3) of this library,
as the Python 2.7 version will no longer get updates!**

**Examples for the Python3 version are available [here](https://github.com/fracpete/python-weka-wrapper3-examples).**

# python-weka-wrapper-examples

Example code for the Python wrapper for Weka (https://github.com/fracpete/python-weka-wrapper).

Some of the examples are modelled after the original Examples for Weka (https://svn.cms.waikato.ac.nz/svn/weka/trunk/wekaexamples/).

Requirements:

* Python
* python-weka-wrapper (>= 0.2.0)
* JDK 1.6+

The Python libraries you can either install using `pip install ` or use
pre-built packages available for your platform.

## Forum

You can post questions, patches or enhancement requests in the following Google Group:

https://groups.google.com/forum/#!forum/python-weka-wrapper

## IDEs

### Library Setup in Eclipse PyDev

1. when add external library, path should stop at `site-packages`, and then import will work as `import weka.core.jvm as jvm`

* working: `/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages`
* not working: `/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/weka`

2. when add source folder as library, same as above, path stop at "src", then then imporit will work as "import wekaexamples.helper as helper"

* working: `${PROJ_DIR_NAME}/src`
* not working: `${PROJ_DIR_NAME}/src/wekaexamples`