Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.

Do it yourself!

First install two packages using the Package Manager:

  • the tigerjython package
  • the jfreechartOffscreenRenderer package

Note: tigerjython is not yet compatible with Java 9. When you installed Weka, if you downloaded a self-extracting archive that included Java, it will have been Java 8; no problems. However, if you normally run Weka under Java 9 you will have to temporarily use Java 8.

Then create an environment variable called MOOC_DATA that points to your Weka data files folder:

  • On Windows, Peter right-clicked on This PC and selected Properties to get the Control Panel, then Advanced system settings, then Environment Variables. Click New… and type in the variable name and value.
  • On the Mac, you can install envPane in your Preferences, which makes it easy to set environment variables.

Here’s Peter’s script for loading and filtering data:

Share this article:

This article is from the free online course:

Advanced Data Mining with Weka

The University of Waikato

Get a taste of this course

Find out what this course is like by previewing some of the course steps before you join:

Contact FutureLearn for Support