Introduction

WARNING: Python 2.7 reaches its end-of-life in 2020, you should consider using the Python 3 version of this library!

python-weka-wrapper allows you to use Weka from within Python.

The library uses the javabridge library for starting up, communicating with and shutting down the Java Virtual Machine in which the Weka processes get executed.

python-weka-wrapper provides a thin wrapper around the basic (non-GUI) functionality of Weka (some plots are available using Python functionality). You can automatically add all your Weka packages to the classpath. Additional jars can be added as well.

Links:

Requirements

The library has the following requirements:

  • Python 2.7 (does not work with Python 3)
  • javabridge (>= 1.0.14, required)
  • pygraphviz (optional)
  • PIL (optional)
  • matplotlib (optional)
  • Oracle JDK 1.8+

Uses:

  • Weka (3.9.3)