£199.99 £139.99 for one year of Unlimited learning. Offer ends on 14 November 2022 at 23:59 (UTC). T&Cs apply

Find out more
Adding PRISM to Weka
Skip main navigation

Adding PRISM to Weka

Ian Witten explains how to add the PRISM package to Weka using the "package" system

Before attempting the quiz that follows, you will need to download Weka’s PRISM package.

We explained Weka’s “package” system in the previous course Data Mining with Weka. Here’s a refresher.

Weka has hundreds of different classifiers and scores of filtering algorithms. To simplify the interface, when you download Weka it comes with a small set of key classifiers and filters, along with a simple mechanism that allows you to add new methods that are stored in separate “packages”.

The Package Manager is accessed from the Tools menu in Weka’s GUI Chooser panel, which appears when you start up Weka:

Invoking the Package Manager

The very first time it is accessed, the Manager downloads information about all available packages. This requires an internet connection.

Here is the resulting display:

Main window of the Package Manager

The top half is a scrollable list of packages, beneath which is information about the currently selected package – in this case the userClassifier package.

To install (or uninstall) a package, click the install (or uninstall) button near the top of the window. When you do this, you will be asked to close any Weka application windows – like the Explorer. When you reopen it, the new package will be incorporated.

You can display all packages, or just the ones that are installed, or just the ones that are not installed. The list gives the package name, the broad category it belongs to, the version currently installed (if any), and the most recent version. It can be sorted, in ascending or descending order, by clicking the package or the category column header.

For successful operation the Package Manager requires Weka version 3.8.1 or later. If yours predates this you should install the latest version.

Please install the simpleEducationalLearningSchemes package now. It contains PRISM, which you’ll need for the quiz that follows.

Problems? If you have technical difficulties with the installation, raise them in the Discussion step that follows (“What could possibly go wrong?”).

This article is from the free online

More Data Mining with Weka

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education