How to run the Graphical User Interface version of SPMF

Before starting

To run the software, you need to have a recent Java version installed on your computer.

1) If you have not downloaded it yet, download the file spmf.jar

2) If you have not downloaded it yet, download the file test_files.zip

3) Uncompress the file test_files.zip on your desktop. It will create a folder containing some example data files that you can use with the algorithms provided in SPMF.

Launching the software

1) To run the SPMF software, now double-click on the file spmf.jar. It will launch the software. If it does not work and you are using Windows, right-click on spmf.jar and select "open with..." and then select "Java Platform". If this option is not there, there is a good chance that Java is not installed on your computer. If Java is installed, and still does not work on Windows, you may also try putting this BAT file in the same folder as the spmf.jar file and then double-click on the BAT file to launch SPMF.

2) If the previous step succeeds, the Welcome window of SPMF will open::

spmf_gui

From this window four options are available:

Running an algorithm

1) For this simple tutorial, let's run a single algorithm by clicking on "Run an algorithm".

run algorithm

This opens this window:

spmf_gui

2) Now let's say that you want to run the CM-SPAM algorithm. In the documentation, it is the CM-SPAM example. To run that example:

How to create workflows to run multiple algorithms with SPMF?

From the welcome window of SPMF, there are another mode that can be used for running algorithms from SPMF called the Workflow editor.

worklow editor mode

The Workflow editor is used to create worklows where multiple algorithms are run one after another rather than running only one algorithm at a time. A worklow is a visual representation of how multiple algorithms are run one after the other. For example a simple workflow below indicates to apply the Eclat algorithm on the chess.txt input file, which will produce a file output1.txt, and then apply two other algorithms for visualizing the output and opening the text file with a text editor.

worklow

Please see the documentation page of the workflow editor dedicated to this tool for more details about how to use it to create workflows.

 

How to perform step-by-step analysis with SPMF?

From the welcome window of SPMF, there is also a third mode that can be used for running algorithms from SPMF called the Step-by-Step Analysis.

step by step analysis

..... < the documentation for this mode will be updated soon >