Data Mining Course Overview

Similar documents
Knowledge Discovery and Data Mining

COMP90049 Knowledge Technologies

An Introduction to Data Mining BY:GAGAN DEEP KAUSHAL

Foundation of Data Mining: Introduction

Data Mining Concept. References. Why Mine Data? Commercial Viewpoint. Why Mine Data? Scientific Viewpoint

Introduction to Data Mining CS 584 Data Mining (Fall 2016)

Data Mining: Introduction. Lecture Notes for Chapter 1. Introduction to Data Mining

Data Mining Concepts & Techniques

D B M G Data Base and Data Mining Group of Politecnico di Torino

Data mining fundamentals

Data Mining. Yi-Cheng Chen ( 陳以錚 ) Dept. of Computer Science & Information Engineering, Tamkang University

DATA MINING II - 1DL460

DATA MINING II - 1DL460

Stats Overview Ji Zhu, Michigan Statistics 1. Overview. Ji Zhu 445C West Hall

CISC 4631 Data Mining Lecture 01:

Introduction to Data Mining. Komate AMPHAWAN

Data Preprocessing UE 141 Spring 2013

DATA MINING LECTURE 1. Introduction

Database and Knowledge-Base Systems: Data Mining. Martin Ester

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

Thanks to the advances of data processing technologies, a lot of data can be collected and stored in databases efficiently New challenges: with a

Data Mining. Chapter 1: Introduction. Adapted from materials by Jiawei Han, Micheline Kamber, and Jian Pei

Data Mining & Machine Learning

Data Preprocessing. Slides by: Shree Jaswal

INTRODUCTION TO DATA MINING

Data Mining: Concepts and Techniques. (3 rd ed.) Chapter 3

COMP 6838 Data MIning

CSE4334/5334 DATA MINING

This tutorial has been prepared for computer science graduates to help them understand the basic-to-advanced concepts related to data mining.

Data Mining Concepts & Techniques

CS246: Mining Massive Datasets Jure Leskovec, Stanford University.

Data Preprocessing Yudho Giri Sucahyo y, Ph.D , CISA

Includes Review of Syllabus OVERVIEW OF THE CLASS

Classification: Basic Concepts, Decision Trees, and Model Evaluation

CS423: Data Mining. Introduction. Jakramate Bootkrajang. Department of Computer Science Chiang Mai University

DATA MINING LECTURE 1. Introduction

Chapter 4 Data Mining A Short Introduction

Lecture Topic Projects 1 Intro, schedule, and logistics 2 Data Science components and tasks 3 Data types Project #1 out 4 Introduction to R,

What Is Data Mining? CMPT 354: Database I -- Data Mining 2

Data Preprocessing. Why Data Preprocessing? MIT-652 Data Mining Applications. Chapter 3: Data Preprocessing. Multi-Dimensional Measure of Data Quality

Data warehouse and Data Mining

Data Mining. Data preprocessing. Hamid Beigy. Sharif University of Technology. Fall 1395

Data Mining. Data preprocessing. Hamid Beigy. Sharif University of Technology. Fall 1394

Question Bank. 4) It is the source of information later delivered to data marts.

Summary of Last Chapter. Course Content. Chapter 3 Objectives. Chapter 3: Data Preprocessing. Dr. Osmar R. Zaïane. University of Alberta 4

Part I. Instructor: Wei Ding

COMP 465 Special Topics: Data Mining

Data Mining. Introduction. Hamid Beigy. Sharif University of Technology. Fall 1395

Data Mining. Introduction. Hamid Beigy. Sharif University of Technology. Fall 1394

Chapter 1, Introduction

Data Mining Clustering

Association Rule Mining. Entscheidungsunterstützungssysteme

CS377: Database Systems Data Warehouse and Data Mining. Li Xiong Department of Mathematics and Computer Science Emory University

Classification and Regression

INTRODUCTION TO BIG DATA, DATA MINING, AND MACHINE LEARNING

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

9. Conclusions. 9.1 Definition KDD

Introduction to Data Mining and Data Analytics

Introduction to Data Mining S L I D E S B Y : S H R E E J A S W A L

Code No: R Set No. 1

Data Mining: Data. What is Data? Lecture Notes for Chapter 2. Introduction to Data Mining. Properties of Attribute Values. Types of Attributes

Data Mining: Data. Lecture Notes for Chapter 2. Introduction to Data Mining

ECLT 5810 Data Preprocessing. Prof. Wai Lam

DATA MINING LECTURE 1. Introduction

An Improved Apriori Algorithm for Association Rules

2. Data Preprocessing

CT75 (ALCCS) DATA WAREHOUSING AND DATA MINING JUN

GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATIONS (MCA) Semester: IV

KDD E A MINERAÇÃO DE DADOS. Daniela Barreiro Claro

ANU MLSS 2010: Data Mining. Part 2: Association rule mining

Data Mining: Concepts and Techniques. (3 rd ed.) Chapter 3. Chapter 3: Data Preprocessing. Major Tasks in Data Preprocessing

Data Mining Concepts

Data Mining. Introduction. Piotr Paszek. (Piotr Paszek) Data Mining DM KDD 1 / 44

Chapter 28. Outline. Definitions of Data Mining. Data Mining Concepts

Data Mining and Analytics. Introduction

Chapter 7: Frequent Itemsets and Association Rules

UNIT 2. DATA PREPROCESSING AND ASSOCIATION RULES

CAP-359 PRINCIPLES AND APPLICATIONS OF DATA MINING. Rafael Santos

Pattern Mining. Knowledge Discovery and Data Mining 1. Roman Kern KTI, TU Graz. Roman Kern (KTI, TU Graz) Pattern Mining / 42

DATA ANALYSIS I. Types of Attributes Sparse, Incomplete, Inaccurate Data

CS Machine Learning

Improved Frequent Pattern Mining Algorithm with Indexing

CS 521 Data Mining Techniques Instructor: Abdullah Mueen

UNIT 2 Data Preprocessing

DATA MINING LECTURE 1. Introduction

Data Preprocessing. S1 Teknik Informatika Fakultas Teknologi Informasi Universitas Kristen Maranatha

Chapter 3: Data Mining:

Winter Semester 2009/10 Free University of Bozen, Bolzano

Jarek Szlichta

Data Preprocessing. Komate AMPHAWAN

Chapter 4 Data Mining A Short Introduction. 2005/6, Karl Aberer, EPFL-IC, Laboratoire de systèmes d'informations répartis Data Mining - 1

ECT7110. Data Preprocessing. Prof. Wai Lam. ECT7110 Data Preprocessing 1

CSE5243 INTRO. TO DATA MINING

Knowledge Discovery in Data Bases

CMPUT 391 Database Management Systems. Data Mining. Textbook: Chapter (without 17.10)

Example of DT Apply Model Example Learn Model Hunt s Alg. Measures of Node Impurity DT Examples and Characteristics. Classification.

Contents. Preface to the Second Edition

Data Mining. Ryan Benton Center for Advanced Computer Studies University of Louisiana at Lafayette Lafayette, La., USA.

Chapter 4: Mining Frequent Patterns, Associations and Correlations

INTRODUCTION TO DATA MINING ASSOCIATION RULES. Luiza Antonie

Transcription:

Data Mining Course Overview 1

Data Mining Overview Understanding Data Classification: Decision Trees and Bayesian classifiers, ANN, SVM Association Rules Mining: APriori, FP-growth Clustering: Hierarchical and Partition approaches Dimensionality Reductions Advanced topics: Social Network graph mining, outlier detection, 2

What is Data Mining? Data Mining is: (1) The efficient discovery of previously unknown, valid, potentially useful, understandable patterns in large datasets (2) The analysis of (often large) observational data sets to find unsuspected relationships and to summarize the data in novel ways that are both understandable and useful to the data owner 3

Overview of terms Data: a set of facts (items) D, usually stored in a database Pattern: an expression E in a language L, that describes a subset of facts Attribute: a field in an item i in D. Interestingness: a function I D,L that maps an expression E in L into a measure space M 4

Overview of terms The Data Mining Task: For a given dataset D, language of facts L, interestingness function I D,L and threshold c, find the expression E such that I D,L (E) > c efficiently. 5

Knowledge Discovery 6

Examples of Data mining Applications 1. Fraud detection: credit cards, phone calls 2. Marketing: customer targeting 3. Data Warehousing: Walmart 4. Astronomy 5. Molecular biology 7

How Data Mining is used 1. Identify the problem 2. Use data mining techniques to transform the data into information 3. Act on the information 4. Measure the results 8

The Data Mining Process 1. Understand the domain 2. Create a dataset: Select the interesting attributes Data cleaning and preprocessing 3. Choose the data mining task and the specific algorithm 4. Interpret the results, and possibly return to 2 9

Origins of Data Mining Draws ideas from machine learning/ai, pattern recognition, statistics, and database systems Must address: Enormity of data High dimensionality of data Heterogeneous, distributed nature of data Statistics Data Mining Database systems AI / Machine Learning 10

Data Mining Tasks Prediction Methods Use some variables to predict unknown or future values of other variables. Description Methods Find human-interpretable patterns that describe the data. 11

Data Mining Tasks... Classification [Predictive] Clustering [Descriptive] Association Rule Discovery [Descriptive] Sequential Pattern Discovery [Descriptive] Regression [Predictive] Deviation Detection [Predictive] 12

Data Mining Tasks 1. Classification: learning a function that maps an item into one of a set of predefined classes 2. Regression: learning a function that maps an item to a real value 3. Clustering: identify a set of groups of similar items 13

Data Mining Tasks 4. Dependencies and associations: identify significant dependencies between data attributes 5. Summarization: find a compact description of the dataset or a subset of the dataset 14

Data Mining Methods 1. Decision Tree Classifiers: Used for modeling, classification 2. Association Rules: Used to find associations between sets of attributes 3. Sequential patterns: Used to find temporal associations in time series 4. Hierarchical clustering: used to group customers, web users, etc 15

Why Data Preprocessing? Data in the real world is dirty incomplete: lacking attribute values, lacking certain attributes of interest, or containing only aggregate data noisy: containing errors or outliers inconsistent: containing discrepancies in codes or names No quality data, no quality mining results! Quality decisions must be based on quality data Data warehouse needs consistent integration of quality data Required for both OLAP and Data Mining! 16

Why can Data be Incomplete? Attributes of interest are not available (e.g., customer information for sales transaction data) Data were not considered important at the time of transactions, so they were not recorded! Data not recorder because of misunderstanding or malfunctions Data may have been recorded and later deleted! Missing/unknown values for some data 17

Data Cleaning Data cleaning tasks Fill in missing values Identify outliers and smooth out noisy data Correct inconsistent data 18

Classification: Definition Given a collection of records (training set ) Each record contains a set of attributes, one of the attributes is the class. Find a model for class attribute as a function of the values of other attributes. Goal: previously unseen records should be assigned a class as accurately as possible. A test set is used to determine the accuracy of the model. Usually, the given data set is divided into training and test sets, with training set used to build the model and test set used to validate it. 19

10 10 Classification Example Tid Home Owner Marital Status Taxable Income Default Home Owner Marital Status Taxable Income Default 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No 4 Yes Married 120K No 5 No Divorced 95K Yes 6 No Married 60K No 7 Yes Divorced 220K No No Single 75K? Yes Married 50K? No Married 150K? Yes Divorced 90K? No Single 40K? No Married 80K? Test Set 8 No Single 85K Yes 9 No Married 75K No 10 No Single 90K Yes Training Set Learn Classifier Model 20

10 Example of a Decision Tree Tid Home Owner Marital Status Taxable Income Default Splitting Attributes 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No 4 Yes Married 120K No 5 No Divorced 95K Yes 6 No Married 60K No 7 Yes Divorced 220K No 8 No Single 85K Yes 9 No Married 75K No 10 No Single 90K Yes HO Yes No NO MarSt Single, Divorced TaxInc < 80K > 80K NO YES Married NO Training Data Model: Decision Tree 21

10 Another Example of Decision Tree Tid Home Owner Marital Status Taxable Income 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No Default Married NO MarSt Yes NO Single, Divorced HO No TaxInc 4 Yes Married 120K No < 80K > 80K 5 No Divorced 95K Yes 6 No Married 60K No NO YES 7 Yes Divorced 220K No 8 No Single 85K Yes 9 No Married 75K No 10 No Single 90K Yes There could be more than one tree that fits the same data! 22

Classification: Application 1 Direct Marketing Goal: Reduce cost of mailing by targeting a set of consumers likely to buy a new cell-phone product. Approach: Use the data for a similar product introduced before. We know which customers decided to buy and which decided otherwise. This {buy, don t buy} decision forms the class attribute. Collect various demographic, lifestyle, and company-interaction related information about all such customers. Type of business, where they stay, how much they earn, etc. Use this information as input attributes to learn a classifier model. From [Berry & Linoff] Data Mining Techniques, 1997 23

Classification: Application 2 Fraud Detection Goal: Predict fraudulent cases in credit card transactions. Approach: Use credit card transactions and the information on its accountholder as attributes. When does a customer buy, what does he buy, how often he pays on time, etc Label past transactions as fraud or fair transactions. This forms the class attribute. Learn a model for the class of the transactions. Use this model to detect fraud by observing credit card transactions on an account. 24

Clustering Definition Given a set of data points, each having a set of attributes, and a similarity measure among them, find clusters such that Data points in one cluster are more similar to one another. Data points in separate clusters are less similar to one another. Similarity Measures: Euclidean Distance if attributes are continuous. Other Problem-specific Measures. 25

Illustrating Clustering Euclidean Distance Based Clustering in 3-D space. Intracluster distances are minimized Intercluster distances are maximized 26

Clustering: Application 1 Market Segmentation: Goal: subdivide a market into distinct subsets of customers where any subset may conceivably be selected as a market target to be reached with a distinct marketing mix. Approach: Collect different attributes of customers based on their geographical and lifestyle related information. Find clusters of similar customers. Measure the clustering quality by observing buying patterns of customers in same cluster vs. those from different clusters. 27

Clustering: Application 2 Document Clustering: Goal: To find groups of documents that are similar to each other based on the important terms appearing in them. Approach: To identify frequently occurring terms in each document. Form a similarity measure based on the frequencies of different terms. Use it to cluster. Gain: Information Retrieval can utilize the clusters to relate a new document or search term to clustered documents. 28

Association Rule Discovery: Definition Given a set of records each of which contain some number of items from a given collection; Produce dependency rules which will predict occurrence of an item based on occurrences of other items. TID Items 1 Bread, Coke, Milk 2 Beer, Bread 3 Beer, Coke, Diaper, Milk 4 Beer, Bread, Diaper, Milk 5 Coke, Diaper, Milk Rules Discovered: {Milk} --> {Coke} {Diaper, Milk} --> {Beer} 29

Association Rule Discovery: Application 1 Marketing and Sales Promotion: Let the rule discovered be {softdrinks, } --> {Potato Chips} Potato Chips as consequent => Can be used to determine what should be done to boost its sales. Softdrinks in the antecedent => Can be used to see which products would be affected if the store discontinues selling softdrinks. Softdrinks in antecedent and Potato chips in consequent => Can be used to see what products should be sold with softdrinks to promote sale of Potato chips! 30

Association Rule Discovery: Application 2 Supermarket shelf management. Goal: To identify items that are bought together by sufficiently many customers. Approach: Process the point-of-sale data collected with barcode scanners to find dependencies among items. A classic rule -- If a customer buys diaper and milk, then he is very likely to buy beer. So, don t be surprised if you find six-packs stacked next to diapers! 31

Association Rule Discovery: Application 3 Inventory Management: Goal: A consumer appliance repair company wants to anticipate the nature of repairs on its consumer products and keep the service vehicles equipped with right parts to reduce on number of visits to consumer households. Approach: Process the data on tools and parts required in previous repairs at different consumer locations and discover the co-occurrence patterns. 32

Regression Predict a value of a given continuous valued variable based on the values of other variables, assuming a linear or nonlinear model of dependency. Greatly studied in statistics, neural network fields. Examples: Predicting sales amounts of new product based on advetising expenditure. Predicting wind velocities as a function of temperature, humidity, air pressure, etc. Time series prediction of stock market indices. 33

Deviation/Anomaly Detection Detect significant deviations from normal behavior Applications: Credit Card Fraud Detection Network Intrusion Detection Typical network traffic at University level may reach over 100 million connections per day 34

Challenges of Data Mining Scalability Dimensionality Complex and Heterogeneous Data Data Quality Data Ownership and Distribution Privacy Preservation Streaming Data 35

Data Compression Original Data lossless Compressed Data Original Data Approximated 36

Numerosity Reduction: Reduce the volume of data Parametric methods Assume the data fits some model, estimate model parameters, store only the parameters, and discard the data (except possible outliers) Non-parametric methods Do not assume models Major families: histograms, clustering, sampling 37

Clustering Partitions data set into clusters, and models it by one representative from each cluster Can be very effective if data is clustered but not if data is smeared There are many choices of clustering definitions and clustering algorithms, more later! 38

Recommended Reference Books J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques. Morgan Kaufmann, 3 rd ed., 2011 P.-N. Tan, M. Steinbach and V. Kumar, Introduction to Data Mining, Wiley, 2005 (2 nd ed. 2016) Mohammed J. Zaki and Wagner Meira Jr., Data Mining and Analysis: Fundamental Concepts and Algorithms 2014 39