Menu

InstallingKeplerWeka-2.0

Peter Reutemann

Installing KeplerWeka (Kepler 2.0)

You can install [KeplerWeka] either using a binary release or from source code. The following sections cover both approaches.

Installation using [KeplerWeka] release

Previously installed versions of [KeplerWeka] should be removed first, of course. Deleting the "keplerweka" sub-directory in the Kepler installation directory should be sufficient for that.

In order to install [KeplerWeka], simply decompress the ZIP archive into your Kepler installation directory (using 7-zip or the command-line). NB this will overwrite any currently active suite.

There are archives available for:

Installation from source code

The following sections cover the various steps that you need to perform in order to get [KeplerWeka] installed using source code obtain from a source archive or from subversion directly.

[KeplerWeka] Suite

If you are using a source archive (you can download the archive here), simply decompress it into your Kepler source tree directory.

Otherwise, if you are obtaining the source code directly from subversion, run the following command in your Kepler source tree:

svn co https://keplerweka.svn.sourceforge.net/svnroot/keplerweka/trunk keplerweka

The suite is built using the provided ant build file (tested only under Linux). Issue the following command from within the "keplerweka" module directory:

ant

Ontologies

[KeplerWeka] extends the Kepler ontologies a bit, making it easier to find the actors. Minor changes to a Kepler configuration file are necessary.

Copy the following files:

keplerweka/resources/configurations/ontologies/KeplerWeka-project.owl keplerweka/resources/configurations/ontologies/KeplerWekaActorOntology.owl

Into the following directory:

common/configs/ptolemy/configs/kepler/ontologies

Edit the following file:

common/configs/ptolemy/configs/kepler/ontologies/ontology_catalog.xml

And add the content of the following file to it (inside the <ontologies>...</ontologies> tags):

keplerweka/resources/configurations/ontologies/ontology_catalog.xml.addon

Icons

In order to display [KeplerWeka]'s custom icons, you need to updated some Kepler configuration files, unfortunately. [KeplerWeka] is fully functional without the icons, but the actors will be easier to distinguish with their proper icons installed.

Add the content of:

keplerweka/resources/configurations/uiSVGIconMappingsByClass.xml.addon

to the following Kepler configuration file (inside the <config>...</config> tags):

gui/resources/configurations/uiSVGIconMappingsByClass.xml

WEKA

The version of WEKA included in this release is a patched 3.7.2 developer version. This release includes the new package manager, which makes it easier to add new functionality to WEKA. The package manager works nicely together with Kepler, i.e., whenever you install a package from within WEKA, you will be able to use it within [KeplerWeka].

See also


Related

Wiki: HackingKeplerWeka
Wiki: InstallingKeplerWeka
Wiki: KeplerWeka
Wiki: UsingKeplerWeka

MongoDB Logo MongoDB