Instructions

Apriori Generator

Download Apriori Generator Application

In order to run this application, you need to have JVM already installed on your computer. Consult the Java website to download the appropriate version for your computer.
Click the link/button provided and save the AprioriGenerator.jnlp file to the desired location on your local computer. Double click the file and say yes to the security box that pops up.
Each time the application updates and this includes the first time you launch the application you need to wait for the update process before proceeding. You also need to allow the digital jar signature, so that, the application can access your local dataset file.

Layout

The User Interface is divided into several parts: Menu, Data panel (top panel on the left), Control panel (middle panel on the left), transaction panel (bottom panel on the left), graphic display panel (on the right).

Loading Data

The Apriori Generator requires data in order for it to run. In order to open a data file that has already been created follow the instructions below. If you want to make your own dataset file, use the format detailed below in the Format section of this page.
Click the 'File'-'Open' menu, and choose your local dataset file.
Two sample datasets are available. By clicking the link below you can download them to your local computer.

Textbook Exercise

Second Example

Using and Understanding the Apriori Generator

Frequency Itemset Panel: Location: Right Panel First Tab


After the data file has been loaded the Frequency Itemset Panel shows frequency itemset color coded in a lattice fashion. This information all depending on your file size can be quite big so remember to use the scroll bar on the bottom to view it in all its entirety. Hover cursor on each itemset to see the full name of each item. Red is a frequent itemset, green is a closed frequent itemset, blue is for maximal frequent itemset and black represents itemset which are not frequent itemset, and theirsupport is less than the minimal support threshold (K).

Controls:- Location Center of Left Panel


Control transactions by dragging the slider to adjust the minimum support (Min Support), minimum Confidence(Min Confidence, unit 0.0001) and item size(K), by varying these values the results will show directly below the control panel.

Transaction Panel:- Bottom of Left Panel


This table shows the transactions based on the item size selected above. It also shows the number of times this itemset occurs in the data set and whether or not it is legal.  When a transaction is clicked a rule panel is generated which is described below.

Rule Panel:- Right Panel First Tab


By clicking the transaction in the Transaction panel, you can see the generated rules on the Rule display panel

  • if the transaction item size equals to one, it shows nothing.
  • if the transaction item size is less than eight, it will show a graphic hierarchy, in which
    • Hover cursor on each rule to see the full name of each item
    • Red rule means a high confidence rule, and Black rule means a low confidence rule
  • instead, if the transaction item size equals or is more than eight, it will show a table to list all high confidence rules only.

If the mutex number of item size is smaller than eight, then Graphic display panel also will display the results in a graphic hierarchical way.

File Format

Write each transaction in a single line.
For each transaction(line), write all items divided by comma (without leaving blanks between items).