Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
COMP1942 Association Rule Mining (Data Mining Tool) Prepared by Raymond Wong (Notes) and Kai Ho Chan (Screenshot) Presented by Raymond Wong raywong@cse COMP1942 1 Outline Association Rule Mining Problem Definition Algorithm How to use the data mining tool COMP1942 2 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 3 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 4 COMP1942 5 COMP1942 6 COMP1942 7 COMP1942 8 COMP1942 9 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 10 COMP1942 11 COMP1942 12 COMP1942 13 COMP1942 14 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 15 Where can I find the data mining tool? Open “rule.xls” in MS Excel COMP1942 16 COMP1942 17 COMP1942 18 COMP1942 19 COMP1942 20 Data source Workbook Worksheet Data range COMP1942 21 COMP1942 22 COMP1942 23 # Rows in data 5 # Columns in data COMP1942 5 24 First row contains header COMP1942 25 Input data format Data in binary matrix format Data in item list format COMP1942 26 Parameters Minimum support (# transactions): 3 Minimum confidence (%): COMP1942 27 Parameters Minimum support (# transactions): 3 50 Minimum confidence (%): COMP1942 28 COMP1942 29 COMP1942 30 COMP1942 31 Row ID Antecedent (A) Conf. % Support for A Consequent (C) Support for A & C COMP1942 Support for C Lift Ratio 32 Rule 1: If item D is purchased, then this implies item A is also purchased. This rule has confidence of 100% COMP1942 33 Rule 5: If item B is purchased, then this implies item C is also purchased. This rule has confidence of 75% COMP1942 34 In the previous setting, we set Minimum Support = 3 Minimum Confidence = 50% In the following setting, we set COMP1942 Minimum Support = 2 Minimum Confidence = 70% 35 COMP1942 36 Parameters Minimum support (# transactions): 2 70 Minimum confidence (%): COMP1942 37 COMP1942 38 Rule 1: If items D, E are purchased, then this implies items A, B are also purchased. This rule has confidence of 100% COMP1942 39