Introduction of Information Visualization and Visual Analytics. Chapter 4. Data Mining

Similar documents
Data Mining: Introduction. Lecture Notes for Chapter 1. Slides by Tan, Steinbach, Kumar adapted by Michael Hahsler

Quick Introduction of Data Mining Techniques

Data Mining. Yeow Wei Choong Anne Laurent

Foundations of Artificial Intelligence. Introduction to Data Mining

Introduction to Artificial Intelligence G51IAI. An Introduction to Data Mining

DATA MINING - 1DL105, 1Dl111

Data Mining: Introduction

Marta Zorrilla Universidad de Cantabria

Data Mining on Social Networks. Dionysios Sotiropoulos Ph.D.

CSE4334/5334 Data Mining Lecturer 2: Introduction to Data Mining. Chengkai Li University of Texas at Arlington Spring 2016

Introduction to Data Mining

Data Mining Classification: Decision Trees

Big Data. Introducción. Santiago González

Clustering. Adrian Groza. Department of Computer Science Technical University of Cluj-Napoca

Business Intelligence and Data Mining

Information Management course

Introduction to Data Mining

Data Mining and Machine Learning in Bioinformatics

Lecture 6 - Data Mining Processes

not possible or was possible at a high cost for collecting the data.

Data Mining Solutions for the Business Environment

Mining Big Data. Pang-Ning Tan. Associate Professor Dept of Computer Science & Engineering Michigan State University

An Introduction to Data Mining. Big Data World. Related Fields and Disciplines. What is Data Mining? 2/12/2015

Introduction. A. Bellaachia Page: 1

Data Mining is sometimes referred to as KDD and DM and KDD tend to be used as synonyms

Introduction to Data Mining

Example application (1) Telecommunication. Lecture 1: Data Mining Overview and Process. Example application (2) Health

Hexaware E-book on Predictive Analytics

Data Mining. Introduction to Modern Information Retrieval from Databases and the Web. Administrivia

International Journal of Computer Science Trends and Technology (IJCST) Volume 2 Issue 3, May-Jun 2014

Data Mining Techniques

Data Mining System, Functionalities and Applications: A Radical Review

ECLT 5810 E-Commerce Data Mining Techniques - Introduction. Prof. Wai Lam

What is Data Mining? Data Mining (Knowledge discovery in database) Data mining: Basic steps. Mining tasks. Classification: YES, NO

Data Mining and Knowledge Discovery in Databases (KDD) State of the Art. Prof. Dr. T. Nouri Computer Science Department FHNW Switzerland

Database Marketing, Business Intelligence and Knowledge Discovery

Classification Techniques (1)

ISSN: (Online) Volume 3, Issue 4, April 2015 International Journal of Advance Research in Computer Science and Management Studies

Social Media Mining. Data Mining Essentials

Data Mining and Exploration. Data Mining and Exploration: Introduction. Relationships between courses. Overview. Course Introduction

Data Mining for Fun and Profit

A STUDY OF DATA MINING ACTIVITIES FOR MARKET RESEARCH

Introduction to Data Mining and Machine Learning Techniques. Iza Moise, Evangelos Pournaras, Dirk Helbing

Chapter 20: Data Analysis

Adding New Level in KDD to Make the Web Usage Mining More Efficient. Abstract. 1. Introduction [1]. 1/10

Data Mining Analytics for Business Intelligence and Decision Support

Data Mining: Overview. What is Data Mining?

IT and CRM A basic CRM model Data source & gathering system Database system Data warehouse Information delivery system Information users

Sanjeev Kumar. contribute

Role of Social Networking in Marketing using Data Mining

Statistics and Data Mining

OLAP and Data Mining. Data Warehousing and End-User Access Tools. Introducing OLAP. Introducing OLAP

Pentaho Data Mining Last Modified on January 22, 2007

MBA Data Mining & Knowledge Discovery

Data Warehousing and Data Mining for improvement of Customs Administration in India. Lessons learnt overseas for implementation in India

Transforming the Telecoms Business using Big Data and Analytics

A Review of Data Mining Techniques

Web Data Mining: A Case Study. Abstract. Introduction

Class 10. Data Mining and Artificial Intelligence. Data Mining. We are in the 21 st century So where are the robots?

1. Introduction to Data Mining

The Data Mining Process

Big Data Analytics. What to Do with Big Data? V. CHRISTOPHIDES. Department of Computer Science University of Crete. Data contains value and knowledge

Financial Fraud Detection and Prevention with Data Mining Techniques Professor Hui Xiong Rutgers Business School

Customer Classification And Prediction Based On Data Mining Technique

Chapter 2 Literature Review

Mobile Phone APP Software Browsing Behavior using Clustering Analysis

Chapter 12 Discovering New Knowledge Data Mining

from Larson Text By Susan Miertschin

An Overview of Database management System, Data warehousing and Data Mining

Data Warehousing and Data Mining in Business Applications

Enhanced Boosted Trees Technique for Customer Churn Prediction Model

Machine Learning and Data Mining. Fundamentals, robotics, recognition

DATA MINING CLUSTER ANALYSIS: BASIC CONCEPTS

Analytics on Big Data

COPYRIGHTED MATERIAL. Contents. List of Figures. Acknowledgments

International Journal of World Research, Vol: I Issue XIII, December 2008, Print ISSN: X DATA MINING TECHNIQUES AND STOCK MARKET

Healthcare Measurement Analysis Using Data mining Techniques

DATA MINING TECHNOLOGY. Keywords: data mining, data warehouse, knowledge discovery, OLAP, OLAM.

DATA MINING TECHNIQUES SUPPORT TO KNOWLEGDE OF BUSINESS INTELLIGENT SYSTEM

Data Mining: An Introduction

Detection. Perspective. Network Anomaly. Bhattacharyya. Jugal. A Machine Learning »C) Dhruba Kumar. Kumar KaKta. CRC Press J Taylor & Francis Croup

Course DSS. Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization

Introduction to Data Mining and Business Intelligence Lecture 1/DMBI/IKI83403T/MTI/UI

Machine Learning: Overview

Data Mining Algorithms Part 1. Dejan Sarka

Example: Document Clustering. Clustering: Definition. Notion of a Cluster can be Ambiguous. Types of Clusterings. Hierarchical Clustering

Principles of Data Mining by Hand&Mannila&Smyth

Data Mining. 1 Introduction 2 Data Mining methods. Alfred Holl Data Mining 1

Data Mining: Motivations and Concepts

MS1b Statistical Data Mining

Machine Learning using MapReduce

Data Mining Part 5. Prediction

Data Mining + Business Intelligence. Integration, Design and Implementation

Data Mining. Vera Goebel. Department of Informatics, University of Oslo

Search and Data Mining: Techniques. Applications Anya Yarygina Boris Novikov

THE COMPARISON OF DATA MINING TOOLS

Transcription:

Introduction of Information Visualization and Visual Analytics Chapter 4 Data Mining

Books! P. N. Tan, M. Steinbach, V. Kumar: Introduction to Data Mining. First Edition, ISBN-13: 978-0321321367, 2005. (Second edition is coming in September 2015)! I. H. Witten, E. Frank: Data Mining. Third Edition. Morgan Kaufmann Elsevier, ISBN 978-0-12-374856-0, 2011. 1

Why Mine Data?! Nowadays, data is produced at an incredible rate! Data collection is no longer a problem! however, extracting value from data stores into useful information has become increasingly difficult! Challenge:! The ability to collect and store the data vs.! The ability to analyze it Collection & Storing Analyzing 2

Why Mine Data?! Traditional techniques infeasible for raw data! Traditional techniques also not suitable for:! Massive size of data sets! Non-traditional nature of data! even if the set is small! The question needed to be answered cannot be addressed InfoVis-SS2014 : 3

Mining Large Data Sets: Motivation! There is often information hidden in the data that is not readily evident! Human analysts may take weeks to discover useful information! Much of the data is never analyzed at all InfoVis-SS2014 : 4

Mining Large Data Sets: Motivation 4,000,000 3,500,000 3,000,000 The Data Gap 2,500,000 2,000,000 1,500,000 1,000,000 500,000 0 Total new disk (TB) since 1995 Number of analysts 1995 1996 1997 1998 1999 [R. Grossman, C. Kamath, V. Kumar, Data Mining for Scientific and Engineering Applications, Springer, 2001 InfoVis-SS2014 : 5

Why Mine Data?! Data mining blends traditional data analysis methods with sophisticated algorithms for processing large volumes of data! It opens excited opportunities for:! Exploring and analyzing new types of data! Analyzing old types of data in new ways InfoVis-SS2014 : 6

Why Mine Data? Commercial Viewpoint! Lots of data is being collected and warehoused! Web data, e-commerce! purchases at department/ grocery stores! Bank/Credit Card transactions!! InfoVis-SS2014 : 7

Why Mine Data? Commercial Viewpoint! Computers have become cheaper and more powerful! Competitive Pressure is Strong! Provide better, customized services for an edge! e.g., in Customer Relationship Management! Helps to find out answers of some important business questions:! Who are the most profitable customers?! What products can be cross-sold or up-sold?! What is the revenue outlook of the company for next year?! InfoVis-SS2014 : 8

Why Mine Data? Commercial Viewpoint! Business intelligence applications! Targeted marketing! Work-flow management! Store layout! Fraud detection! InfoVis-SS2014 : 9

Why Mine Data? Scientific Viewpoint! Data collected and stored at enormous speeds (GB/hour)! remote sensors on a satellite! telescopes scanning the skies! microarrays generating gene expression data! scientific simulations generating terabytes of data InfoVis-SS2014 : 10

Why Mine Data? Scientific Viewpoint! Data mining may help scientists! in classifying and segmenting data! in Hypothesis Formation InfoVis-SS2014 : 11

What is Data Mining?! Data mining is the process of automatically discovering useful information in large data repositories.! Data mining techniques:! To find out novel and useful patterns in large data sets! To predict the outcome of a future observation InfoVis-SS2014 : 12

What is Data Mining?! Many Definitions:! Non-trivial extraction of implicit, previously unknown and potentially useful information from data! Exploration & analysis, by automatic or semiautomatic means, of large quantities of data in order to discover meaningful patterns InfoVis-SS2014 : 13

What is (not) Data Mining?! What is not Data Mining?! Look up phone number in phone directory! What is Data Mining?! Certain names are more prevalent in certain US locations (O Brien, O Rurke, O Reilly in Boston area)! Query a Web search engine for information about Amazon! Group together similar documents returned by search engine according to their context (e.g. Amazon rainforest, Amazon.com) InfoVis-SS2014 : 14

Data Mining and Knowledge Discovering! Data mining is an integral part of Knowledge Discovery in Databases (KDD)! An overall process of converting raw data into useful information Input Data Data Preprocessing Data Mining Post-processing Information Feature Selection Dimensionality Reduction Normalization Data Subsetting Filtering Patterns Visualization Pattern Interpretation InfoVis-SS2014 : 15

Origins of Data Mining! Draws ideas from machine learning/ai, pattern recognition, statistics, and database systems! Traditional Techniques may be unsuitable due to! Enormity of data! High dimensionality of data! Heterogeneous, distributed nature of data Statistics/ AI Data Mining Machine Learning/ Pattern Recognition Database systems InfoVis-SS2014 : 16

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 InfoVis-SS2014 : 17

Data Mining Tasks (cont.)! Classification [Predictive]! Clustering [Descriptive]! Association Rule Discovery [Descriptive]! Sequential Pattern Discovery [Descriptive]! Regression [Predictive]! Deviation Detection [Predictive] InfoVis-SS2014 : 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:! Training set is used to build the model! Test set is used to validate it InfoVis-SS2014 : 19

Examples of Classification Tasks! Predicting tumor cells as benign or malignant! Classifying credit card transactions as legitimate or fraudulent! Classifying secondary structures of protein as alpha-helix, beta-sheet, or random coil! Categorizing news stories as finance, weather, entertainment, sports, etc. InfoVis-SS2014 : 20

10 10 Classification Example Tid Refund Marital Status Taxable Income Cheat Refund Marital Status Taxable Income Cheat 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 No Single 75K? Yes Married 50K? No Married 150K? Yes Divorced 90K? No Single 40K? No Married 80K? Test Set 9 No Married 75K No 10 No Single 90K Yes Training Set Learn Classifier Model InfoVis-SS2014 : 21

Classification Techniques! Decision Tree-based Methods! Rule-based Methods! Memory-based reasoning! Neural Networks! Naïve Bayes and Bayesian Belief Networks! Support Vector Machines InfoVis-SS2014 : 22

10 Example of a Decision Tree Tid Refund Marital Status Taxable Income Cheat 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 Refund Yes No NO MarSt Single, Divorced TaxInc < 80K > 80K NO YES Married NO Training Data Model: Decision Tree InfoVis-SS2014 : 23

10 Apply Model to Test Data Start from the root of tree. Refund Marital Status Taxable Income Cheat No Single 75K? No Yes NO Refund No MarSt Single, Divorced Married Yes Married 50K? No Married 150K? No Divorced 90K? No Single 40K? No Married 85K? No No Yes No No TaxInc < 80K > 80K NO NO YES InfoVis-SS2014 : 24

10 10 Brain Storming! Start from Marital Status and Taxable Income as the root of tree. Yes Refund No Tid Refund Marital Status Taxable Income 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No 4 Yes Married 120K No Cheat 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 Training Data Test Data Refund Marital Status NO Taxable Income NO No Single 75K? Yes Married 50K? No Married 150K? No Divorced 90K? No Single 40K? No Single 85K? Single, Divorced TaxInc MarSt < 80K > 80K Cheat No No No Yes No Yes YES NO InfoVis-SS2014 : 25 Married

Classification: Application 1 Direct Marketing! Goal:! Reduce cost of mailing by targeting a set of consumers likely to buy a new cell-phone product InfoVis-SS2014 : 26

Classification: Application 1 (cont.) Direct Marketing! 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 InfoVis-SS2014 : 27

Fraud Detection Classification: Application 2! Goal:! Predict fraudulent cases in credit card transactions InfoVis-SS2014 : 28

Classification: Application 2 (cont.) Fraud Detection! Approach:! Use credit card transactions and the information on its account-holder as attributes! When does a customer buy, what does he/she buy, how often he/she 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 InfoVis-SS2014 : 29

Classification: Application 3 Customer Attrition:! Goal:! To predict whether a customer is likely to be lost to a competitor InfoVis-SS2014 : 30

Classification: Application 3 (cont.) Customer Attrition:! Approach:! Use detailed record of transactions with each of the past and present customers, to find attributes! How often the customer calls, where he calls, what time-of-the day he calls most, his financial status, marital status, etc.! Label the customers as loyal or disloyal.! Find a model for loyalty. InfoVis-SS2014 : 31

Classification: Application 4 Sky Survey Cataloging:! Goal:! To predict class (star or galaxy) of sky objects, especially visually faint ones, based on the telescopic survey images (from Palomar Observatory)! 3000 images with 23,040 x 23,040 pixels per image InfoVis-SS2014 : 32

Classification: Application 4 Sky Survey Cataloging:! Approach:! Segment the image! Measure image attributes (features) - 40 of them per object! Model the class based on these features! Success Story:! Could find 16 new high red-shift quasars, some of the farthest objects that are difficult to find! InfoVis-SS2014 : 33

Classifying Galaxies Early Class: Stages of Formation Intermediate Attributes: Image features, Characteristics of light waves received, etc. Late Data Size: 72 million stars, 20 million galaxies Object Catalog: 9 GB Image Database: 150 GB [Source: http://aps.umn.edu] InfoVis-SS2014 : 34

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 InfoVis-SS2014 : 35

Illustrating Clustering Euclidean Distance Based Clustering in 3-D space Intracluster distances are minimized Intercluster distances are maximized InfoVis-SS2014 : 36

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 InfoVis-SS2014 : 37

Clustering: Application 1 (cont.) Market Segmentation:! 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 InfoVis-SS2014 : 38

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 InfoVis-SS2014 : 39

Clustering: Application 2 (cont.) Document Clustering:! 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 InfoVis-SS2014 : 40

Illustrating Document Clustering! Clustering Points:! 3204 Articles of Los Angeles Times! Similarity Measure:! How many words are common in these documents (after some word filtering) Category Total Correctly Articles Placed Financial 555 364 Foreign 341 260 National 273 36 Metro 943 746 Sports 738 573 Entertainment 354 278 InfoVis-SS2014 : 41

Clustering of S&P 500 Stock Data! Observe Stock Movements every day! Clustering points:! Stock-{UP/DOWN}! Similarity Measure:! Two points are more similar if the events described by them frequently happen together on the same day! We used association rules to quantify a similarity measure. InfoVis-SS2014 : 42

Clustering of S&P 500 Stock Data (cont.) Discovered Clusters 1 Applied-Matl-DOWN,Bay-Network-Down,3-COM-DOWN, Cabletron-Sys-DOWN,CISCO-DOWN,HP-DOWN, DSC-Co mm-dow N,INTEL-DOWN,LSI-Logic-DOWN, Micron-Tech-DOWN,Texas-Inst-Down,Tellabs-Inc-Down, Natl-Semiconduct-DOWN,Oracl-DOWN,SGI-DOW N, Sun-DOW N 2 Apple-Comp-DOW N,Autodesk-DOWN,DEC-DOWN, ADV-Micro-Device-DOWN,Andrew-Corp-DOWN, Co mputer-assoc-down,circuit-city-down, Co mpaq-down, EM C-Corp-DOWN, Gen-Inst-DOWN, Motorola-DOWN,Microsoft-DOWN,Scientific-Atl-DOWN 3 Fannie-Mae-DOWN,Fed-Ho me-loan-dow N, MBNA-Corp-DOWN,Morgan-Stanley-DOWN Industry Group Technology1-DOWN Technology2-DOWN Financial-DOWN 4 Baker-Hughes-UP,Dresser-Inds-UP,Halliburton-HLD-UP, Louisiana-Land-UP,Phillips-Petro-UP,Unocal-UP, Schlumberger-UP Oil-UP InfoVis-SS2014 : 43

Association Analysis! Association analysis is used to discover patterns that describe strongly associated features in the data.! The discovered patterns are typically represented in the form of implication rules or feature subsets.! Goal: to extract the most interesting patterns in an efficient manner! Applications! Finding groups of genes that have related functionality! Identifying web pages that are associated together! Understanding the relationships between different elements of Earth s climate system InfoVis-SS2014 : 44

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 Rule Discovered: {Milk} --> {Coke} Rules Discovered: {Diaper, Milk} --> {Beer} InfoVis-SS2014 : 45

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

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/she is very likely to buy beer! So, don t be surprised if you find six-packs stacked next to diapers! InfoVis-SS2014 : 47

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 keeps 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 InfoVis-SS2014 : 48

Sequential Pattern Discovery: Definition! Given is a set of objects, with each object associated with its own timeline of events, find rules that predict strong sequential dependencies among different events (A B) (C) " (D E)! Rules are formed by first discovering patterns. Event occurrences in the patterns are governed by timing constraints. InfoVis-SS2014 : 49

Sequential Pattern Discovery: Examples! In point-of-sale transaction sequences,! Computer Bookstore: (Intro_To_Visual_C) (C++_Primer) " (Perl_for_dummies,Tcl_Tk)! Athletic Apparel Store: (Shoes) (Racket, Racketball) " (Sports_Jacket) InfoVis-SS2014 : 50

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 and neural network fields! Examples:! Predicting sales amounts of new product based on advertising expenditure! Predicting wind velocities as a function of temperature, humidity, air pressure, etc.! Time series prediction of stock market indices InfoVis-SS2014 : 51

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 InfoVis-SS2014 : 52

Challenges of Data Mining! Scalability! Dimensionality! Complex and heterogeneous data! Data quality! Data ownership and distribution! Privacy preservation! InfoVis-SS2014 : 53