Skip to main content

A Python wrapper for the Weka graphics .

Project description

Weka - Python wrapper for Weka Graphics

Overview

Provides a convenient wrapper for calling Weka from Python to generate a graph with the data from an arff file.

Installation

First install the Weka and LibSVM Java libraries. On Debian/Ubuntu this is simply:

sudo apt-get install weka libsvm-java

Then install the Python package with pip:

sudo pip install QtWekaWrapper

You can find the module on the PyPi.

Usage

Create a Python 3 environment with the 'virtualenv' module and after activate it. Install the module with pip install QtWekaWrapper command and you can instantiate the qt window where the arff file will be loaded:

from QtWekaWrapper import qtwekawrapper
window = qtwekawrapper.run_qt_window()

Development

Tests require the Python development headers to be installed, which you can install on Ubuntu with:

sudo apt-get install python-dev python3-dev python3.4-dev

To run unittests across multiple Python versions, install:

sudo apt-get install python3.4-minimal python3.4-dev python3.5-minimal python3.5-dev

To run all tests:

export TESTNAME=; tox

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
QtWekaWrapper-0.0.3-py3-none-any.whl (25.3 kB) Copy SHA256 hash SHA256 Wheel py3
QtWekaWrapper-0.0.3.tar.gz (26.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page