Download presentation
Presentation is loading. Please wait.
1
Association Rule Mining (Data Mining Tool)
COMP1942 Association Rule Mining (Data Mining Tool) Prepared by Raymond Wong (Notes) and Kai Ho Chan (Screenshot) Presented by Raymond Wong COMP1942
2
Outline Association Rule Mining Algorithm
Problem Definition Algorithm How to use the data mining tool COMP1942
3
How to use the data mining tool
Where can I find the data mining tool? How can I use the data mining tool for association rule mining? COMP1942
4
Where can I find the data mining tool?
There are two ways of opening XLMiner in MS Excel. Option 1: From the “Add-ins” Tag Option 2: From the “XLMiner Platform” Tag Suggestion: Use the “Add-ins” Tag COMP1942
5
COMP1942
6
COMP1942
7
COMP1942
8
COMP1942
9
COMP1942
10
How to add “XLMiner” in MS Excel installed in a PC of our lab
There are two ways of opening XLMiner in MS Excel. Option 1: From the “Add-ins” Tag Option 2: From the “XLMiner Platform” Tag COMP1942
11
COMP1942
12
COMP1942
13
COMP1942
14
COMP1942
15
How to use the data mining tool
Where can I find the data mining tool? How can I use the data mining tool for association rule mining? COMP1942
16
Where can I find the data mining tool?
Open “rule.xls” in MS Excel COMP1942
17
COMP1942
18
COMP1942
19
COMP1942
20
COMP1942
21
Data source Workbook Worksheet Data range COMP1942
22
COMP1942
23
COMP1942
24
# Rows in data 5 5 # Columns in data COMP1942
25
First row contains header
COMP1942
26
Data in binary matrix format
Input data format Data in binary matrix format Data in item list format COMP1942
27
Minimum support (# transactions):
Parameters Minimum support (# transactions): 3 Minimum confidence (%): COMP1942
28
Minimum support (# transactions):
Parameters Minimum support (# transactions): 3 50 Minimum confidence (%): COMP1942
29
COMP1942
30
COMP1942
31
COMP1942
32
Antecedent (A) Row ID Support for A Consequent (C) Conf. %
Support for C Support for A & C Lift Ratio COMP1942
33
Rule 1: If item D is purchased, then this implies item A is also purchased. This rule has confidence of 100% COMP1942
34
Rule 5: If item B is purchased, then this implies item C is also purchased. This rule has confidence of 75% COMP1942
35
In the previous setting,
we set Minimum Support = 3 Minimum Confidence = 50% In the following setting, Minimum Support = 2 Minimum Confidence = 70% COMP1942
36
COMP1942
37
Minimum support (# transactions):
Parameters Minimum support (# transactions): 2 70 Minimum confidence (%): COMP1942
38
COMP1942
39
Rule 1: If items D, E are purchased, then this implies items A, B are also purchased. This rule has confidence of 100% COMP1942
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.