Professional Documents
Culture Documents
Data Warehousing and Mining Lab
Data Warehousing and Mining Lab
Assignment – 8
Made By:
Altaf Khan
CSE-1
191112029
Contents
1. Perform Association mining using the Apriori algorithm with the WEKA tool. ...... 3
• Download and install WEKA. ................................................................................ 3
• Create or Download data in (.arff) file format........................................................ 3
• Open WEKA explorer and upload the data file. ..................................................... 3
• Set parameter values for Apriori ............................................................................. 4
i. By applying the apriori algorithm in the supermarket dataset, with default
parameters, we get the following result- .................................................................. 4
ii. Next Iteration with minimum support: 0.5, confidence- 0.9, andnumber of rules
10 5
iii. Next Iteration with minimum support: 0.3, confidence- 0.9 and numberof rules
10. ............................................................................................................................. 7
iv. Next Iteration with minimum support: 0.1, confidence- 0.8, and numberof rules
5. 9
1. Perform Association mining using the Apriori algorithm with the WEKA tool.
• Download and install WEKA.
- We have obtained the itemset of length 3 and we also get 5 associate rules
regarding the supermarket dataset.
Approach Used- I have applied the Apriori algorithm in the given supermarket
dataset using the Weka Tool. I have used different values, in parameters such as
minimum support, minimum confidence, and the number of rules and tried to
analyze the number of itemsets and associate rules generated