1 - Assignment - Association Rule Mining
1 - Assignment - Association Rule Mining
Instructions: This is a group assignment where each group would have at maximum 2 students. Upload
your solution on the LMS in the form of a report (Word/PDF) that details the operations performed for
each task, explanation of the solution you have come-up with and corresponding screenshots.
We want to generate a dataset that contains 100 number of transactions for 8 customers against 10 items.
For such an operation we can use Generate Transaction Data operator with aforementioned parameters
including cluster value 10 and local random seed 1992.
Task 1. The generated data may not be suitable for the FP-Growth operator, so we need to perform some
data transformation operations such as Aggregate, Rename, Set Role, and One Column.
Task 2. We can also perform another transformation that may include operations such as Pivot Items,
Rename by Replacing, Replace Missing Values, Numeric to Binominal and Item Type operations.
Afterwards, we will get the original dataset transformed as follows:
Figure 2. Item-oriented data transformation.
Now we can use the FP-Growth component with following parameters for Task 1:
Note: The “Items in one Column” and “Item Type Columns” contain subprocess operations for data
transformation.