Presentation is loading. Please wait.

Presentation is loading. Please wait.

2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 1 Chapter 1 Introduction to Data Mining Chen. Chun-Hsien Department of Information.

Similar presentations


Presentation on theme: "2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 1 Chapter 1 Introduction to Data Mining Chen. Chun-Hsien Department of Information."— Presentation transcript:

1 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 1 Chapter 1 Introduction to Data Mining Chen. Chun-Hsien Department of Information Management Chang Gung University

2 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 2 Outline Motivation to data mining What is data mining? Applications of data mining Data mining process Main data mining techniques Classification of data mining systems

3 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 3 Motivation Data explosion problem Automated data collection tools and mature database technology Tremendous amount of Web pages 40 billion photos on Facebook 1 million new transactions/per hour in Walmart database Big data in Clouds We are drowning in data, but starving for knowledge to make decision Solution: Data Mining One of the 10 emerging technologies that will change the world in the near future (MIT Technology Review)

4 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 4 What Is Data Mining? Formal Definition of Data mining Automatic extraction of interesting (non-trivial, implicit, previously unknown and potentially useful) knowledge (rules, regularities, patterns, trends, affinities) from large amount of data Alternative names Business intelligence, knowledge discovery in databases (KDD), data/pattern analysis, knowledge extraction, data dredging, information harvesting, data archeology, etc.

5 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 5 Example : Mining a Concept Hierarchy all EuropeNorth_America MexicoCanadaSpainGermany Vancouver M. WindL. Chan... all region office country TorontoFrankfurtcity

6 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 6 Part of International Sales Data

7 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 7 Confluence of Multiple Disciplines Data Mining Database Technology Statistics Artificial Intelligence Information Science Machine Learning Visualization

8 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 8 Evolution of Database Technology 1960s: Data collection, database creation, network DBMS 1970s: Relational data model, relational DBMS 1980s: Advanced data models (extended-relational, OO, spatial, temporal D/Bs, etc.) 1990s ~: Data mining, data warehousing, multimedia D/B, and Web

9 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 9 Applications of Data Mining Decision support Consumer understanding, service improvement Market trend analysis and management Risk analysis and management Fraud detection and management Medical decision support systems Other Applications Text mining Web analysis Bioinformatics

10 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 10 Market Analysis and Management Data sources for analysis Credit card transactions, usage of discount coupons, customer complaint calls, public lifestyle studies Market basket analysis and cross selling Associations/co-relations between product sales Prediction based on the association information (1/2)

11 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 11 Customer profiling Find clusters of “model” customers who share the same characteristics: interest, income level, spending habits, etc. Data mining can tell you what types of customers buy what products (by clustering or classification techniques) Identifying customer requirements Identifying the best products for different customers Use prediction to find what factors will attract new customers Market Analysis and Management (2/2)

12 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 12 Risk Management and Analysis Finance planning and asset evaluation Cash flow analysis and prediction Asset evaluation Time series analysis (trend analysis) Competitive analysis and market segmentation Monitoring competitors and market directions Grouping customers/a class-based pricing procedure Setting pricing strategy in a highly competitive market

13 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 13 Fraud Detection and Management Applications Health care, credit card services Approach use historical data to build models of fraudulent behavior and use data mining to help identify similar instances Examples money laundering: detect suspicious money transactions medical insurance: detect professional patients and ring of doctors

14 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 14 Other Applications Text Ming News classification : find related articles CRM data analysis : analyze customer Q&As Medical informatics : automatic classification of medical reports Web Mining : mining web access logs Discovering customer preference and behavior Analyzing effectiveness of web marketing Improving Web site organization Biomedical Informatics Finding related genes of genetic diseases Drug discovery

15 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 15 Relevant Data Data Preprocessing Data Mining Evaluation/PresentationPattern Knowledge Databases Steps in KDD Process (Technically) Data mining The core of KDD process

16 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 16 Main Steps of a KDD Process (Fully) Domain knowledge Acquisition Learning relevant prior knowledge and goals of application Data collection and preprocessing (may take 60% of effort!) Data selection and integration : creating a target data set Data cleaning, data transformation, and data reduction (in Cloud) Data mining Choosing functions of data mining association, classification, clustering, regression, summarization. Choosing the mining algorithm(s) Searching for knowledge patterns of interest Pattern evaluation and knowledge presentation visualization, transformation, removing redundant patterns, etc. Use of discovered knowledge

17 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 17 Mining On What Kind of Data? Relational databases Data warehouses Transactional databases Advanced DB and information repositories Object-oriented databases Spatial databases Time-series data (temporal data) Text databases and multimedia databases Heterogeneous and legacy databases Web sites

18 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 18 Relevant Data Data Preprocessing Databases Steps in KDD Process

19 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 19 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

20 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 20 Major Tasks in Data Preprocessing Data cleaning Data integration Data transformation Data reduction Data discretization

21 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 21 Relevant Data Data Preprocessing Data Mining Pattern Databases Steps in KDD Process

22 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 22 Main Data Mining Techniques Association Rule Mining Classification and Prediction Cluster Analysis Regression Analysis Outlier Analysis Trend Analysis

23 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 23 Main Data Mining Techniques Association Rule Mining (association rule : correlation and causality) Form of association rules sales(T, “computer”)  sales(T, “software”) [support = 1%, confidence = 75%] buy(T, “Beer”)  buy(T, “Diaper”) [support = 2%, confidence = 70%] age(X, “20..29”) ^ income(X, “30..39K”)  buys(X, “PC”) [support = 2%, confidence = 60%] (1/5)

24 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 24 Association Rule Mining (Support and Confidence) Given a transaction D/B, find all the rules X  Y with minimum support and confidence support, S, probability that a transaction contains {X & Y } confidence, C, conditional probability that a transaction having {X} also contains Y I = {i 1,i 2,i 3,...,i n } : set of all items T  I : a transaction A  C (50%, 66.6%) C  A (50%, 100%) Customers buy X Customers buy both Customers buy Y

25 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 25 Use a training set to construct a model for the outcome forecast of future events. Two main types Classification Finding models that distinguish classes for future forecast e.g., loan approval, customer classification, recognition of finger print Model representation: decision-tree, neural network Prediction Prediction: Predict some unknown/missing numerical values for future forecast e.g., stock price prediction Model representation: linear regression, neural network (2/5) Main Data Mining Techniques Supervised Learning

26 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 26 Use a training set to construct a model for the outcome forecast of future events Classification predicts categorical class labels (mainly for two-class problems) constructs a classification model to classify new data Prediction predicts numerical values Constructs a continuous-valued (mathematical) function to predict unknown or missing values Typical Applications credit card approval medical diagnosis & treatment Pattern recognition Classification vs. Prediction

27 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 27 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Main Data Mining Techniques for Biomedical Informatics 27 Stages of Classification Tasks (Construction and Usage of Classification Model) Model construction Training Data (I, O) Classification Learning Algorithms Classifier Model Model usage Classifier Model input features output class label : :

28 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 28 An Example of Training Dataset This follows an example from Quinlan’s ID3 Class label (O) Input features (I)

29 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 29 An Example of Classification Model (A decision tree for predicting buys_PC) no yes fair excellent <= 30 > 40 30..40 student? age? credit rating? no yes : test attribute : class label : attribute value ?

30 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 30 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Main Data Mining Techniques for Biomedical Informatics 30 A Decision Tree for CAD Screening (Constructed from ~500 Records)

31 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 31 Cluster analysis (unsupervised learning) Class label is unknown: Group data to form new classes e.g., Customer profiling (Amazon.com) Clustering based on the principle: Maximizing the intra-class similarity and minimizing the interclass similarity Mainly for exploratory analysis (3/5) Main Data Mining Techniques Cluster analysis

32 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 32 A B C Difficulty : Data distribution of high dimension is not visually visible. X Y Z 3 clusters with points X, Y, and Z as outliers Example of Cluster Analysis

33 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 33 Gene Expression Analysis by Clustering Finding differentially regulated genes Clustering

34 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 34 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Main Data Mining Techniques for Biomedical Informatics 34 Profile of Stroke Patients ( Diagnosed by Indices of Chinese Medicine )

35 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 35 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Main Data Mining Techniques for Biomedical Informatics 35 x y y = x + 1 X1X1 Y 1 ? Main Data Mining Techniques Example of Linear Regression (4/5) Predict y’s value at X 1 using linear regression y = f (x), what is f ?

36 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 36 Outlier analysis Outlier: a data object that does not comply with the general behavior of the data It can be considered as noise or exception but is quite useful in fraud detection, rare events analysis Trend analysis Trend and deviation: regression analysis Sequential pattern mining, periodicity analysis Other pattern-directed or statistical analyses Other Data Mining Techniques (5/5)

37 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 37 Are All the “Discovered” Patterns Interesting? A data mining system/query may generate thousands of patterns, not all of them are interesting. How to screen a large amount of patterns : Interestingness measures A pattern is interesting if it is easily understood, potentially useful, novel, valid on new or test data with some degree of certainty, or it validates some hypothesis that a user seeks to confirm Objective vs. subjective measures for pattern screening Objective: based on statistics and structures of data patterns e.g., support, confidence, etc. Subjective: based on user’s belief in the data, e.g., unexpectedness, novelty, actionability, etc.

38 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 38 Can We Find All and Only Interesting Patterns? Completeness vs. Optimization Find all the interesting patterns: Completeness Can a data mining system find all the interesting patterns? Search for only interesting patterns: Optimization Can a data mining system find only the interesting patterns? Approaches First generate all the patterns and then filter out the uninteresting ones. Generate only the interesting patterns—mining query optimization

39 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 39 Classification Scheme of DM Techniques General functionality Descriptive data mining Predictive data mining Different views, different classifications Kinds of databases to be mined Kinds of knowledge to be discovered Kinds of techniques utilized Kinds of applications adapted

40 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 40 A Multi-Dimensional View of DM Technique Classification Databases to be mined Relational, transactional, object-oriented, object-relational, active, spatial, time-series, text, multi-media, heterogeneous, legacy, WWW, etc. Knowledge to be mined Association, classification, clustering, trend, characterization, discrimination, deviation and outlier analysis, etc. Multiple/integrated functions and mining at multiple levels Techniques utilized Database-oriented, data warehouse (OLAP), machine learning, statistics, visualization, etc. Applications adapted Retail, telecommunication, banking, fraud analysis, stock market analysis, Web mining, Biomedical informatics, etc.

41 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 41 Summary for Data Mining Data mining: automatic discovery of interesting knowledge from large amounts of data A natural evolution of database technology, in great demand, with wide applications A KDD process includes data pre-processing, data mining, pattern evaluation, and knowledge presentation Main data mining functions: ARM, classification, clustering, outlier and trend analysis, characterization, etc.

42 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining42 Thanks !!!!


Download ppt "2015年10月18日星期日 2015年10月18日星期日 2015年10月18日星期日 Introduction to Data Mining 1 Chapter 1 Introduction to Data Mining Chen. Chun-Hsien Department of Information."

Similar presentations


Ads by Google