Chapter 4: Data Mining Primitives, Languages, and System Architectures

Slides:



Advertisements
Similar presentations
1 Copyright Jiawei Han; modified by Charles Ling for CS411a/538a Data Mining and Data Warehousing  Introduction  Data warehousing and OLAP for data mining.
Advertisements

OLAP Tuning. Outline OLAP 101 – Data warehouse architecture – ROLAP, MOLAP and HOLAP Data Cube – Star Schema and operations – The CUBE operator – Tuning.
Outline What is a data warehouse? A multi-dimensional data model Data warehouse architecture Data warehouse implementation Further development of data.
By: Mr Hashem Alaidaros MIS 211 Lecture 4 Title: Data Base Management System.
CS490D: Introduction to Data Mining Chris Clifton
University of Alberta  Dr. Osmar R. Zaïane, Principles of Knowledge Discovery in Data Dr. Osmar R. Zaïane University of Alberta Fall 2004.
Harshad Kamat SB # CSE Data Mining Chapter 4 Data Mining Primitives, Languages, and System Architectures.
6/25/2015 Acc 522 Fall 2001 (Jagdish S. Gangolly) 1 Data Mining I Jagdish Gangolly State University of New York at Albany.
Data Mining By Archana Ketkar.
Data Mining Primitives, Languages and System Architecture CSE 634-Datamining Concepts and Techniques Professor Anita Wasilewska Presented By Sushma Devendrappa.
COMP 578 Data Warehousing And OLAP Technology Keith C.C. Chan Department of Computing The Hong Kong Polytechnic University.
Data Mining – Intro.
Ch3 Data Warehouse part2 Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
Data Mining Query Languages Kristen LeFevre April 19, 2004 With Thanks to Zheng Huang and Lei Chen.
LÊ QU Ố C HUY ID: QLU OUTLINE  What is data mining ?  Major issues in data mining 2.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Decision Support Chapter 23.
Data Mining : Introduction Chapter 1. 2 Index 1. What is Data Mining? 2. Data Mining Functionalities 1. Characterization and Discrimination 2. MIning.
Lingma Acheson Department of Computer and Information Science, IUPUI
DATA MINING & KNOWLEDGE DISCOVERY
Data Mining Techniques
Understanding Data Analytics and Data Mining Introduction.
Data Warehousing.
Chapter 3 Data Mining. Data Warehouse and Data Mining Chapter 3 2 Content Part 1 : Data preprocessing 1) Data cleaning 1.1 Simple Discretization Methods:
Data Mining – Intro. Course Overview Spatial Databases Temporal and Spatio-Temporal Databases Multimedia Databases Data Mining.
Introduction of Data Mining and Association Rules cs157 Spring 2009 Instructor: Dr. Sin-Min Lee Student: Dongyi Jia.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
 Finding all the patterns autonomously in a database? — unrealistic because the patterns could be too many but uninteresting  Data mining should be.
January 14, 2016Data Mining: Concepts and Techniques 1 Chapter 4: Data Mining Primitives, Languages, and System Architectures Data mining primitives: What.
January 17, 2016Data Mining: Concepts and Techniques 1 What Is Data Mining? Data mining (knowledge discovery from data) Extraction of interesting ( non-trivial,
UNIT-3 Data Mining Primitives, Languages, and System Architectures LectureTopic ********************************************** Lecture-18Data mining primitives:
Advanced Database Concepts
August 18, 2009Data Mining: Concepts and Techniques 1 Data Mining: Concepts and Techniques — Slides for Textbook — — Chapter 4 — ©Jiawei Han and Micheline.
DATA MINING LECTURE 1 INTRODUCTION TO DATA MINING.
Data Mining Concepts and Techniques Course Presentation by Ali A. Ali Department of Information Technology Institute of Graduate Studies and Research Alexandria.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support Chapter 25.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 11: BIG DATA AND.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Data Mining – Introduction (contd…) Compiled By: Umair Yaqub Lecturer Govt. Murray College Sialkot.
Data Mining and Data Warehousing: Concepts and Techniques What is a Data Warehouse? Data Warehouse vs. other systems, OLTP vs. OLAP Conceptual Modeling.
UNIT-3 Data Mining Primitives, Languages, and System Architectures
Data Mining Functionalities
Data Mining – Intro.
MIS2502: Data Analytics Advanced Analytics - Introduction
Reporting and Analysis With Microsoft Office
Data Warehousing CIS 4301 Lecture Notes 4/20/2006.
Data Mining Primitives, Languages and System Architecture
Data Mining: Data Preparation
Data Mining.
Datamining : Refers to extracting or mining knowledge from large amounts of data Applications : Market Analysis Fraud Detection Customer Retention Production.
Data Warehouse.
Data Mining: Concepts and Techniques — Chapter 1 — — Introduction —
Chapter 13 – Data Warehousing
Chapter 3 Introduction to Data Mining
Data Mining: Concepts and Techniques Course Outline
©Jiawei Han and Micheline Kamber
©Jiawei Han and Micheline Kamber
Instructor: Dan Hebert
Data Mining Concept Description
Data Warehouse and OLAP
File Systems and Databases
כריית מידע -- מבוא ד"ר אבי רוזנפלד.
Lingma Acheson Department of Computer and Information Science, IUPUI
Data Warehousing and Data Mining
©Jiawei Han and Micheline Kamber Department of Computer Science
©Jiawei Han and Micheline Kamber Department of Computer Science
UNIT-3 Data Mining Primitives, Languages, and System Architectures
Data Mining: Characterization
Data Mining: Concepts and Techniques — Chapter 1 — — Introduction —
Data Warehouse and OLAP
Chapter 3 Data Mining.
Presentation transcript:

Chapter 4: Data Mining Primitives, Languages, and System Architectures Data mining primitives: What defines a data mining task? A data mining query language Design graphical user interfaces based on a data mining query language Architecture of data mining systems Summary December 3, 2018 Data Mining: Concepts and Techniques

Why Data Mining Primitives and Languages? It is unrealistic trying to find all the patterns autonomously in a database because the patterns could be too many but uninteresting Data mining should be an interactive process user directs what kind of mining to be performed Users must be provided with a set of primitives to be used to communicate with the data mining system By incorporating these primitives in a data mining query language User’s interaction with the system becomes more flexible A foundation for the design of graphical user interface Standardization of data mining industry and practice December 3, 2018 Data Mining: Concepts and Techniques

What Defines a Data Mining Task ? Task-relevant data Type of knowledge to be mined Background knowledge Pattern interestingness measurements Visualization of discovered patterns December 3, 2018 Data Mining: Concepts and Techniques

Data Mining: Concepts and Techniques Task-Relevant Data Database or data warehouse name Database tables or data warehouse cubes Condition for data selection Relevant attributes or dimensions Data grouping criteria December 3, 2018 Data Mining: Concepts and Techniques

Types of knowledge to be mined Characterization Discrimination Association Classification/prediction Clustering Outlier analysis Other data mining tasks December 3, 2018 Data Mining: Concepts and Techniques

Data Mining: Concepts and Techniques Background knowledge Concept hierarchies schema hierarchy eg. street < city < province_or_state < country set-grouping hierarchy eg. {20-39} = young, {40-59} = middle_aged operation-derived hierarchy email address, login-name < department < university < country rule-based hierarchy low_profit (X) <= price(X, P1) and cost (X, P2) and (P1 - P2) < $50 User’s existing knowledge of the data. E.g. structural zero December 3, 2018 Data Mining: Concepts and Techniques

Pattern interestingness measurements Simplicity e.g. rule length Certainty e.g. confidence, P(A|B) = n(A and B)/ n (B) Utility potential usefulness, eg. support Novelty not previously known, surprising December 3, 2018 Data Mining: Concepts and Techniques

Visualization of Discovered Patterns Different background/purpose may require different form of representation E.g., rules, tables, crosstabs, pie/bar chart etc. Concept hierarchies is also important discovered knowledge might be more understandable when represented at high concept level. Interactive drill up/down, pivoting, slicing and dicing provide different perspective to data. Different knowledge required different representation. December 3, 2018 Data Mining: Concepts and Techniques

Chapter 4: Data Mining Primitives, Languages, and System Architectures Data mining primitives: What defines a data mining task? A data mining query language Design graphical user interfaces based on a data mining query language Architecture of data mining systems Summary December 3, 2018 Data Mining: Concepts and Techniques

A Data Mining Query Language (DMQL) Motivation A DMQL can provide the ability to support ad-hoc and interactive data mining By providing a standardized language like SQL, we hope to achieve the same effect that SQL have on relational database. Design DMQL is designed with the primitives we describe earlier in mind. December 3, 2018 Data Mining: Concepts and Techniques

Data Mining: Concepts and Techniques Syntax for DMQL Syntax for specification of task-relevant data the kind of knowledge to be mined concept hierarchy specification interestingness measure pattern presentation and visualization Putting it all together — a DMQL query December 3, 2018 Data Mining: Concepts and Techniques

Syntax for task-relevant data specification use database database_name, or use data warehouse data_warehouse_name from relation(s)/cube(s) [where condition] in relevance to att_or_dim_list order by order_list group by grouping_list having condition December 3, 2018 Data Mining: Concepts and Techniques

Specification of task-relevant data December 3, 2018 Data Mining: Concepts and Techniques

Syntax for specifying the kind of knowledge to be mined Characterization Mine_Knowledge_Specification  ::= mine characteristics [as pattern_name] analyze measure(s) Discrimination Mine_Knowledge_Specification  ::= mine comparison [as pattern_name] for target_class where target_condition  {versus contrast_class_i where contrast_condition_i}  analyze measure(s) Association Mine_Knowledge_Specification  ::= mine associations [as pattern_name] December 3, 2018 Data Mining: Concepts and Techniques

Syntax for specifying the kind of knowledge to be mined (cont.) Classification Mine_Knowledge_Specification  ::= mine classification [as pattern_name] analyze classifying_attribute_or_dimension Prediction Mine_Knowledge_Specification  ::= mine prediction [as pattern_name] analyze prediction_attribute_or_dimension {set {attribute_or_dimension_i= value_i}} December 3, 2018 Data Mining: Concepts and Techniques

Syntax for concept hierarchy specification To specify what concept hierarchies to use use hierarchy <hierarchy> for <attribute_or_dimension> We use different syntax to define different type of hierarchies schema hierarchies define hierarchy time_hierarchy on date as [date,month quarter,year] set-grouping hierarchies define hierarchy age_hierarchy for age on customer as level1: {young, middle_aged, senior} < level0: all level2: {20, ..., 39} < level1: young level2: {40, ..., 59} < level1: middle_aged level2: {60, ..., 89} < level1: senior December 3, 2018 Data Mining: Concepts and Techniques

Syntax for concept hierarchy specification (Cont.) operation-derived hierarchies define hierarchy age_hierarchy for age on customer as {age_category(1), ..., age_category(5)} := cluster(default, age, 5) < all(age) rule-based hierarchies define hierarchy profit_margin_hierarchy on item as level_1: low_profit_margin < level_0: all if (price - cost)< $50 level_1: medium-profit_margin < level_0: all if ((price - cost) > $50) and ((price - cost) <= $250)) level_1: high_profit_margin < level_0: all if (price - cost) > $250 December 3, 2018 Data Mining: Concepts and Techniques

Syntax for interestingness measure specification Interestingness measures and thresholds can be specified by the user with the statement: with <interest_measure_name>  threshold = threshold_value Example: with support threshold = 0.05 with confidence threshold = 0.7  December 3, 2018 Data Mining: Concepts and Techniques

Syntax for pattern presentation and visualization specification We have syntax which allows users to specify the display of discovered patterns in one or more forms display as <result_form> To facilitate interactive viewing at different concept level, the following syntax is defined: Multilevel_Manipulation  ::=   roll up on attribute_or_dimension | drill down on attribute_or_dimension | add attribute_or_dimension | drop attribute_or_dimension December 3, 2018 Data Mining: Concepts and Techniques

Putting it all together: the full specification of a DMQL query use database AllElectronics_db use hierarchy location_hierarchy for B.address mine characteristics as customerPurchasing analyze count% in relevance to C.age, I.type, I.place_made from customer C, item I, purchases P, items_sold S, works_at W, branch where I.item_ID = S.item_ID and S.trans_ID = P.trans_ID and P.cust_ID = C.cust_ID and P.method_paid = ``AmEx'' and P.empl_ID = W.empl_ID and W.branch_ID = B.branch_ID and B.address = ``Canada" and I.price >= 100 with noise threshold = 0.05 display as table December 3, 2018 Data Mining: Concepts and Techniques

Chapter 4: Data Mining Primitives, Languages, and System Architectures Data mining primitives: What defines a data mining task? A data mining query language Design graphical user interfaces based on a data mining query language Architecture of data mining systems Summary December 3, 2018 Data Mining: Concepts and Techniques

Data Mining: Concepts and Techniques Designing graphical user interfaces based on a data mining query language Data collection and data mining query composition Presentation of discovered patterns Hierarchy specification and manipulation Manipulation of data mining primitives Interactive multilevel mining Other miscellaneous information December 3, 2018 Data Mining: Concepts and Techniques

Chapter 4: Data Mining Primitives, Languages, and System Architectures Data mining primitives: What defines a data mining task? A data mining query language Design graphical user interfaces based on a data mining query language Architecture of data mining systems Summary December 3, 2018 Data Mining: Concepts and Techniques

Data Mining System Architectures Coupling data mining system with DB/DW system No coupling—flat file processing, not recommended Loose coupling Fetching data from DB/DW Semi-tight coupling—enhanced DM performance Provide efficient implement a few data mining primitives in a DB/DW system, e.g., sorting, indexing, aggregation, histogram analysis, multiway join, precomputation of some stat functions Tight coupling—A uniform information processing environment DM is smoothly integrated into a DB/DW system, mining query is optimized based on mining query, indexing, query processing methods, etc. December 3, 2018 Data Mining: Concepts and Techniques

Chapter 4: Data Mining Primitives, Languages, and System Architectures Data mining primitives: What defines a data mining task? A data mining query language Design graphical user interfaces based on a data mining query language Architecture of data mining systems Summary December 3, 2018 Data Mining: Concepts and Techniques

Data Mining: Concepts and Techniques Summary Five primitives for specification of a data mining task task-relevant data kind of knowledge to be mined background knowledge interestingness measures knowledge presentation and visualization techniques to be used for displaying the discovered patterns Data mining query languages DMQL, MS/OLEDB for DM, etc. Data mining system architecture No coupling, loose coupling, semi-tight coupling, tight coupling December 3, 2018 Data Mining: Concepts and Techniques

Data Mining: Concepts and Techniques References Need to work out more!!! J. Han, Y. Fu, W. Wang, K. Koperski, and O. R. Zaiane, “DMQL: A Data Mining Query Language for Relational Databases”, Proc. 1996 SIGMOD'96 Workshop on Research Issues on Data Mining and Knowledge Discovery (DMKD'96)}, pp. 27-33, Montreal, Canada, June 1996. A R. Meo, A G. Psaila, A S. Ceri T, “A New SQL-like Operator for Mining Association Rules”, Proc. 1996 Int. Conf. Very Large Data Bases, Bombay, India, P122-133, Sept. 1996. December 3, 2018 Data Mining: Concepts and Techniques

Data Mining: Concepts and Techniques http://www.cs.sfu.ca/~han Thank you !!! December 3, 2018 Data Mining: Concepts and Techniques