Virtual environment manager for Weka, inspired by the extremely useful virtual environments that Python supports.
weka-virtualenv can be used for launching the GUI or arbitrary Weka classes.
Since weka-virtualenv uses options starting with double-dashes (
--), clashes with
Weka options are avoided. Any option that wasn't consumed by weka-virtualenv
will get further processed by the command. E.g., when launching the Explorer
explorer command, a dataset can be supplied to load immediately,
or, when executing a classifier using the
run command, any additional option
will get passed to the Weka class.
You can use the tool either through the command-line or through its user
interface. Some basic scripting support is available through the
command-line command (see
How it works
The tool simply uses existing Weka functionality, namely the
environment variable, for separating the various environments.
When launching a class or GUI tool, it launches a new Java process with the
WEKA_HOME environment variable pointing to the current environment's
If an environment has no Java or heap size configure (
<default>), then it
just uses the system's default settings for launching the new process.
You can start the GUI with the following script from the
Arff Command Selector
This little tool lets you choose environment and application (Explorer or Arff Viewer) to launch, using the provided dataset filenames (e.g., Open with from the right-click mouse context menu):
You can find videos for the tool in the following YouTube playlist:
Windows users just have to substitute the
wenvgui.bat. For adding the tool's
bin directory to
PATH environment variable (to make it available from the command prompt),
follow these instructions.