© Prentice Hall1 CIS 674 Introduction to Data Mining Srinivasan Parthasarathy Office Hours: TTH 4:30-5:25PM DL693.

Slides:



Advertisements
Similar presentations
Pseudo-Relevance Feedback For Multimedia Retrieval By Rong Yan, Alexander G. and Rong Jin Mwangi S. Kariuki
Advertisements

DATA MINING Introductory
Data Mining Sangeeta Devadiga CS 157B, Spring 2007.
Data Mining Techniques Outline
DATA MINING Introductory and Advanced Topics Part I
© Prentice Hall1 DATA MINING TECHNIQUES Introductory and Advanced Topics Eamonn Keogh (some slides adapted from) Margaret Dunham Dr. M.H.Dunham, Data Mining,
1 DATA MINING. 2 Introduction Outline Define data mining Data mining vs. databases Basic data mining tasks Data mining development Data mining issues.
Data Mining By Archana Ketkar.
Data Mining CS 341, Spring 2007 Lecture 4: Data Mining Techniques (I)
© Prentice Hall1 DATA MINING Introductory and Advanced Topics Part II Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist.
Data Mining – Intro.
Advanced Database Applications Database Indexing and Data Mining CS591-G1 -- Fall 2001 George Kollios Boston University.
CIS 674 Introduction to Data Mining
Data Mining: A Closer Look
Data Mining: A Closer Look Chapter Data Mining Strategies 2.
Chapter 5 Data mining : A Closer Look.
Introduction to Data Mining Data mining is a rapidly growing field of business analytics focused on better understanding of characteristics and.
OLAM and Data Mining: Concepts and Techniques. Introduction Data explosion problem: –Automated data collection tools and mature database technology lead.
Chapter 5: Data Mining for Business Intelligence
Data Mining Techniques
DATA MINING Part I IIIT Allahabad Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Dallas, Texas 75275,
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence From Data Mining To Knowledge.
Data Mining Chun-Hung Chou
Page 1 WEB MINING by NINI P SURESH PROJECT CO-ORDINATOR Kavitha Murugeshan.
3 Objects (Views Synonyms Sequences) 4 PL/SQL blocks 5 Procedures Triggers 6 Enhanced SQL programming 7 SQL &.NET applications 8 OEM DB structure 9 DB.
1 DATA MINING Source : Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Companion slides for the text by.
Chapter 1 Introduction to Data Mining
Introduction to Data Mining Group Members: Karim C. El-Khazen Pascal Suria Lin Gui Philsou Lee Xiaoting Niu.
Data Mining Chapter 1 Introduction -- Basic Data Mining Tasks -- Related Concepts -- Data Mining Techniques.
Data Mining – Intro. Course Overview Spatial Databases Temporal and Spatio-Temporal Databases Multimedia Databases Data Mining.
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
© Prentice Hall1 DATA MINING Introductory and Advanced Topics Part I Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist.
Chapter 5: Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization DECISION SUPPORT SYSTEMS AND BUSINESS.
Outline Knowledge discovery in databases. Data warehousing. Data mining. Different types of data mining. The Apriori algorithm for generating association.
What is Data Mining? process of finding correlations or patterns among dozens of fields in large relational databases process of finding correlations or.
Data Mining BY JEMINI ISLAM. Data Mining Outline: What is data mining? Why use data mining? How does data mining work The process of data mining Tools.
An Investigation of Commercial Data Mining Presented by Emily Davis Supervisor: John Ebden.
CSE 5331/7331 F'07© Prentice Hall1 CSE 5331/7331 Fall 2007 Machine Learning Margaret H. Dunham Department of Computer Science and Engineering Southern.
Information Retrieval CSE 8337 Spring 2007 Introduction/Overview Some Material for these slides obtained from: Modern Information Retrieval by Ricardo.
1 Introduction to Data Mining C hapter 1. 2 Chapter 1 Outline Chapter 1 Outline – Background –Information is Power –Knowledge is Power –Data Mining.
Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Companion slides for the text by Dr. M.H.Dunham, Data Mining,
An Introduction Student Name: Riaz Ahmad Program: MSIT( ) Subject: Data warehouse & Data Mining.
Web Usage Mining A case study of the GoMercer.com website Martin Zhao Mar 16, 2007.
Data Mining and Decision Support
1 DATA MINING Introductory and Advanced Topics Part I References from Dunham.
Web Analytics Xuejiao Liu INF 385F: WIRED Fall 2004.
Smart Web Search Agents Data Search Engines >> Information Search Agents - Traditional searching on the Web is done using one of the following three: -
SUPERVISED AND UNSUPERVISED LEARNING Presentation by Ege Saygıner CENG 784.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 28 Data Mining Concepts.
Data Resource Management – MGMT An overview of where we are right now SQL Developer OLAP CUBE 1 Sales Cube Data Warehouse Denormalized Historical.
DATA MINING LECTURE 1 INTRODUCTION TO DATA MINING.
Data Mining: Confluence of Multiple Disciplines Data Mining Database Systems Statistics Other Disciplines Algorithm Machine Learning Visualization.
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Data Mining – Intro.
Data Mining ICCM
By Arijit Chatterjee Dr
DATA MINING © Prentice Hall.
DATA MINING CSE 8331 Spring 2002 Part I
DATA MINING Introductory and Advanced Topics Part I
Information Retrieval
Sangeeta Devadiga CS 157B, Spring 2007
DATA MINING Introductory and Advanced Topics Part I
Data Warehousing and Data Mining
I don’t need a title slide for a lecture
DATA MINING Introductory and Advanced Topics Part I
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
DATA MINING Introductory and Advanced Topics Part I
DATA MINING Source : Margaret H. Dunham
Presentation transcript:

© Prentice Hall1 CIS 674 Introduction to Data Mining Srinivasan Parthasarathy Office Hours: TTH 4:30-5:25PM DL693

© Prentice Hall2 Introduction Outline Define data mining Data mining vs. databases Basic data mining tasks Data mining development Data mining issues Goal: Provide an overview of data mining.

© Prentice Hall3 Introduction Data is growing at a phenomenal rate Users expect more sophisticated information How? UNCOVER HIDDEN INFORMATION DATA MINING

© Prentice Hall4 Data Mining Objective: Fit data to a model Potential Result: Higher-level meta information that may not be obvious when looking at raw data Similar terms –Exploratory data analysis –Data driven discovery –Deductive learning

© Prentice Hall5 Data Mining Algorithm Objective: Fit Data to a Model –Descriptive –Predictive Preferential Questions –Which technique to choose? ARM/Classification/Clustering Answer: Depends on what you want to do with data? –Search Strategy – Technique to search the data Interface? Query Language? Efficiency

© Prentice Hall6 Database Processing vs. Data Mining Processing Query –Well defined –SQL Query –Poorly defined –No precise query language Output Output – Precise – Subset of database Output Output – Fuzzy – Not a subset of database

© Prentice Hall7 Query Examples Database Data Mining – Find all customers who have purchased milk – Find all items which are frequently purchased with milk. (association rules) – Find all credit applicants with last name of Smith. – Identify customers who have purchased more than $10,000 in the last month. – Find all credit applicants who are poor credit risks. (classification) – Identify customers with similar buying habits. (Clustering)

© Prentice Hall8 Data Mining Models and Tasks

© Prentice Hall9 Basic Data Mining Tasks Classification maps data into predefined groups or classes –Supervised learning –Pattern recognition –Prediction Regression is used to map a data item to a real valued prediction variable. Clustering groups similar data together into clusters. –Unsupervised learning –Segmentation –Partitioning

© Prentice Hall10 Basic Data Mining Tasks (cont’d) Summarization maps data into subsets with associated simple descriptions. –Characterization –Generalization Link Analysis uncovers relationships among data. –Affinity Analysis –Association Rules –Sequential Analysis determines sequential patterns.

© Prentice Hall11 Ex: Time Series Analysis Example: Stock Market Predict future values Determine similar patterns over time Classify behavior

© Prentice Hall12 Data Mining vs. KDD Knowledge Discovery in Databases (KDD): process of finding useful information and patterns in data. Data Mining: Use of algorithms to extract the information and patterns derived by the KDD process.

Knowledge Discovery Process –Data mining: the core of knowledge discovery process. Data Cleaning Data Integration Databases Preprocessed Data Task-relevant Data Data transformations Selection Data Mining Knowledge Interpretation

© Prentice Hall14 KDD Process Ex: Web Log Selection: –Select log data (dates and locations) to use Preprocessing: – Remove identifying URLs – Remove error logs Transformation: –Sessionize (sort and group) Data Mining: –Identify and count patterns –Construct data structure Interpretation/Evaluation: –Identify and display frequently accessed sequences. Potential User Applications: –Cache prediction –Personalization

© Prentice Hall15 Data Mining Development Similarity Measures Hierarchical Clustering IR Systems Imprecise Queries Textual Data Web Search Engines Bayes Theorem Regression Analysis EM Algorithm K-Means Clustering Time Series Analysis Neural Networks Decision Tree Algorithms Algorithm Design Techniques Algorithm Analysis Data Structures Relational Data Model SQL Association Rule Algorithms Data Warehousing Scalability Techniques HIGH PERFORMANCE DATA MINING

© Prentice Hall16 KDD Issues Human Interaction Overfitting Outliers Interpretation Visualization Large Datasets High Dimensionality

© Prentice Hall17 KDD Issues (cont’d) Multimedia Data Missing Data Irrelevant Data Noisy Data Changing Data Integration Application

© Prentice Hall18 Social Implications of DM Privacy Profiling Unauthorized use

© Prentice Hall19 Data Mining Metrics Usefulness Return on Investment (ROI) Accuracy Space/Time

© Prentice Hall20 Database Perspective on Data Mining Scalability Real World Data Updates Ease of Use

© Prentice Hall21 DB & OLTP Systems Schema –(ID,Name,Address,Salary,JobNo) Data Model –ER –Relational Transaction Query: SELECT Name FROM T WHERE Salary > DM: Only imprecise queries

© Prentice Hall22 Fuzzy Sets and Logic Fuzzy Set: Set membership function is a real valued function with output in the range [0,1]. f(x): Probability x is in F. 1-f(x): Probability x is not in F. EX: –T = {x | x is a person and x is tall} –Let f(x) be the probability that x is tall –Here f is the membership function DM: Prediction and classification are fuzzy.

© Prentice Hall23 Fuzzy Sets

© Prentice Hall24 Classification/Prediction is Fuzzy Loan Amnt SimpleFuzzy Accept Reject

© Prentice Hall25 Outline of Today’s Class Statistical Basics –Point Estimation –Models Based on Summarization –Bayes Theorem –Hypothesis Testing –Regression and Correlation Similarity Measures

© Prentice Hall26 Point Estimation Point Estimate: estimate a population parameter. May be made by calculating the parameter for a sample. May be used to predict value for missing data. Ex: –R contains 100 employees –99 have salary information –Mean salary of these is $50,000 –Use $50,000 as value of remaining employee’s salary. Is this a good idea?

© Prentice Hall27 Estimation Error Bias: Difference between expected value and actual value. Mean Squared Error (MSE): expected value of the squared difference between the estimate and the actual value: Why square? Root Mean Square Error (RMSE)

© Prentice Hall28 Jackknife Estimate Jackknife Estimate: estimate of parameter is obtained by omitting one value from the set of observed values. –Treat the data like a population –Take samples from this population –Use these samples to estimate the parameter Let θ(hat) be an estimate on the entire pop. Let θ (j) (hat) be an estimator of the same form with observation j deleted Allows you to examine the impact of outliers!

© Prentice Hall29 Maximum Likelihood Estimate (MLE) Obtain parameter estimates that maximize the probability that the sample data occurs for the specific model. Joint probability for observing the sample data by multiplying the individual probabilities. Likelihood function: Maximize L.

© Prentice Hall30 MLE Example Coin toss five times: {H,H,H,H,T} Assuming a perfect coin with H and T equally likely, the likelihood of this sequence is: However if the probability of a H is 0.8 then:

© Prentice Hall31 MLE Example (cont’d) General likelihood formula: Estimate for p is then 4/5 = 0.8

© Prentice Hall32 Expectation-Maximization (EM) Solves estimation with incomplete data. Obtain initial estimates for parameters. Iteratively use estimates for missing data and continue until convergence.

© Prentice Hall33 EM Example

© Prentice Hall34 EM Algorithm

© Prentice Hall35 Bayes Theorem Example Credit authorizations (hypotheses): h 1 =authorize purchase, h 2 = authorize after further identification, h 3 =do not authorize, h 4 = do not authorize but contact police Assign twelve data values for all combinations of credit and income: From training data: P(h 1 ) = 60%; P(h 2 )=20%; P(h 3 )=10%; P(h 4 )=10%.

© Prentice Hall36 Bayes Example(cont’d) Training Data:

© Prentice Hall37 Bayes Example(cont’d) Calculate P(x i |h j ) and P(x i ) Ex: P(x 7 |h 1 )=2/6; P(x 4 |h 1 )=1/6; P(x 2 |h 1 )=2/6; P(x 8 |h 1 )=1/6; P(x i |h 1 )=0 for all other x i. Predict the class for x 4 : –Calculate P(h j |x 4 ) for all h j. –Place x 4 in class with largest value. –Ex: P(h 1 |x 4 )=(P(x 4 |h 1 )(P(h 1 ))/P(x 4 ) =(1/6)(0.6)/0.1=1. x 4 in class h 1.

© Prentice Hall38 Other Statistical Measures Chi-Squared –O – observed value –E – Expected value based on hypothesis. Jackknife Estimate –estimate of parameter is obtained by omitting one value from the set of observed values. Regression –Predict future values based on past values –Linear Regression assumes linear relationship exists. y = c 0 + c 1 x 1 + … + c n x n Find values to best fit the data Correlation

© Prentice Hall39 Similarity Measures Determine similarity between two objects. Similarity characteristics: Alternatively, distance measure measure how unlike or dissimilar objects are.

© Prentice Hall40 Similarity Measures

© Prentice Hall41 Distance Measures Measure dissimilarity between objects

© Prentice Hall42 Information Retrieval Information Retrieval (IR): retrieving desired information from textual data. Library Science Digital Libraries Web Search Engines Traditionally keyword based Sample query: Find all documents about “data mining”. DM: Similarity measures; Mine text/Web data.

© Prentice Hall43 Information Retrieval (cont’d) Similarity: measure of how close a query is to a document. Documents which are “close enough” are retrieved. Metrics: –Precision = |Relevant and Retrieved| |Retrieved| –Recall = |Relevant and Retrieved| |Relevant|

© Prentice Hall44 IR Query Result Measures and Classification IRClassification

© Prentice Hall45 Twenty Questions Game: A classification problem  NEXT!