0% found this document useful (0 votes)
82 views7 pages

Apriori Algorithm: Step 1: Click Start

The document provides 10 steps for using the Apriori algorithm in Weka to perform market basket analysis on transaction data: 1) open Weka and load a CSV file of transaction data, 2) remove the transaction ID field, 3) visualize the data, 4) save the pre-processed data as an ARFF file, 5) open the ARFF file and configure the Apriori algorithm with a minimum support of 10 and confidence of 0, 6) run the Apriori algorithm to output frequent itemsets.

Uploaded by

semselvan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views7 pages

Apriori Algorithm: Step 1: Click Start

The document provides 10 steps for using the Apriori algorithm in Weka to perform market basket analysis on transaction data: 1) open Weka and load a CSV file of transaction data, 2) remove the transaction ID field, 3) visualize the data, 4) save the pre-processed data as an ARFF file, 5) open the ARFF file and configure the Apriori algorithm with a minimum support of 10 and confidence of 0, 6) run the Apriori algorithm to output frequent itemsets.

Uploaded by

semselvan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

2.

APRIORI ALGORITHM
Step 1: Click StartAll Programs Choose Weka 3.6.14 Weka 3.6

Step 2: Create the Excel sheet for the following data and save it as in CSV
Format.

Do the following then click save button.


Step 3: Maximize Weka GUI Chooser

Step 4: Click Explorer in Weka GUI Chooser


Step 5: From Weka Explorer click Open file button

Choose the CSV file and click open button

After Choosing CSV file

Step 6: Choose Transaction and click Remove button

After Removing Transaction field the Weka Explorer will be

Click Visualize All to see the full class

Step 7: Save the Weka Explorer

Step 8: Click Open fileand choose AprioriTest-Arff data file then Click Open button

Step 9: Click Associate from Weka Explorer and Right Click Apriori N 10 T 0
select Show Properties

Do the following changes in the Weka.gui.GenericObjectEditor (ie. Set the Support &
Confidence)
Click Ok button

Step 10: Click Associate from Weka Explorer and click Start button

Output:

You might also like