SlideShare a Scribd company logo
© Prentice Hall 1
CIS 674
Introduction to Data Mining
Srinivasan Parthasarathy
srini@cse.ohio-state.edu
Office Hours: TTH 2-3:18PM
DL317
www.credosystemz.com
© Prentice Hall 2
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.
www.credosystemz.com
© Prentice Hall 3
Introduction
• Data is produced at a phenomenal rate
• Our ability to store has grown
• Users expect more sophisticated
information
• How?
UNCOVER HIDDEN INFORMATION
DATA MINING
www.credosystemz.com
© Prentice Hall 4
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
www.credosystemz.com
© Prentice Hall 5
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
www.credosystemz.com
© Prentice Hall 6
Database Processing vs. Data
Mining Processing
• Query
– Well defined
– SQL
• Query
– Poorly defined
– No precise query language
◼ Output
– Precise
– Subset of database
◼ Output
– Fuzzy
– Not a subset of database
www.credosystemz.com
© Prentice Hall 7
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)
www.credosystemz.com
© Prentice Hall 8
Data Mining Models and Tasks
www.credosystemz.com
© Prentice Hall 9
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
www.credosystemz.com
© Prentice Hall 10
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.
www.credosystemz.com
© Prentice Hall 11
Ex: Time Series Analysis
• Example: Stock Market
• Predict future values
• Determine similar patterns over time
• Classify behavior
www.credosystemz.com
© Prentice Hall 12
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.
www.credosystemz.com
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
www.credosystemz.com
© Prentice Hall 14
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
www.credosystemz.com
© Prentice Hall 15
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
www.credosystemz.com
© Prentice Hall 16
KDD Issues
• Human Interaction
• Overfitting
• Outliers
• Interpretation
• Visualization
• Large Datasets
• High Dimensionality
www.credosystemz.com
© Prentice Hall 17
KDD Issues (cont’d)
• Multimedia Data
• Missing Data
• Irrelevant Data
• Noisy Data
• Changing Data
• Integration
• Application
www.credosystemz.com
© Prentice Hall 18
Social Implications of DM
• Privacy
• Profiling
• Unauthorized use
www.credosystemz.com
© Prentice Hall 19
Data Mining Metrics
• Usefulness
• Return on Investment (ROI)
• Accuracy
• Space/Time
www.credosystemz.com
© Prentice Hall 20
Database Perspective on Data
Mining
• Scalability
• Real World Data
• Updates
• Ease of Use
www.credosystemz.com
© Prentice Hall 21
Outline of Today’s Class
• Statistical Basics
– Point Estimation
– Models Based on Summarization
– Bayes Theorem
– Hypothesis Testing
– Regression and Correlation
• Similarity Measures
www.credosystemz.com
© Prentice Hall 22
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?
www.credosystemz.com
© Prentice Hall 23
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)
www.credosystemz.com
© Prentice Hall 24
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!
www.credosystemz.com
© Prentice Hall 25
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.
www.credosystemz.com
© Prentice Hall 26
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:
www.credosystemz.com
© Prentice Hall 27
MLE Example (cont’d)
• General likelihood formula:
• Estimate for p is then 4/5 = 0.8
www.credosystemz.com
© Prentice Hall 28
Expectation-Maximization (EM)
• Solves estimation with incomplete data.
• Obtain initial estimates for parameters.
• Iteratively use estimates for missing data
and continue until convergence.
www.credosystemz.com
© Prentice Hall 29
EM Example
www.credosystemz.com
© Prentice Hall 30
EM Algorithm
www.credosystemz.com
© Prentice Hall 31
Bayes Theorem Example
• Credit authorizations (hypotheses):
h1=authorize purchase, h2 = authorize after
further identification, h3=do not authorize,
h4= do not authorize but contact police
• Assign twelve data values for all
combinations of credit and income:
• From training data: P(h1) = 60%; P(h2)=20%;
P(h3)=10%; P(h4)=10%.
1 2 3 4
Excellent x1 x2 x3 x4
Good x5 x6 x7 x8
Bad x9 x10 x11 x12
www.credosystemz.com
© Prentice Hall 32
Bayes Example(cont’d)
• Training Data:
ID Income Credit Class xi
1 4 Excellent h1 x4
2 3 Good h1 x7
3 2 Excellent h1 x2
4 3 Good h1 x7
5 4 Good h1 x8
6 2 Excellent h1 x2
7 3 Bad h2 x11
8 2 Bad h2 x10
9 3 Bad h3 x11
10 1 Bad h4 x9
www.credosystemz.com
© Prentice Hall 33
Bayes Example(cont’d)
• Calculate P(xi|hj) and P(xi)
• Ex: P(x7|h1)=2/6; P(x4|h1)=1/6; P(x2|h1)=2/6;
P(x8|h1)=1/6; P(xi|h1)=0 for all other xi.
• Predict the class for x4:
– Calculate P(hj|x4) for all hj.
– Place x4 in class with largest value.
– Ex:
• P(h1|x4)=(P(x4|h1)(P(h1))/P(x4)
=(1/6)(0.6)/0.1=1.
• x4 in class h1.
www.credosystemz.com
© Prentice Hall 34
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 = c0 + c1 x1 + … + cn xn
• Find values to best fit the data
• Correlation
www.credosystemz.com
© Prentice Hall 35
Similarity Measures
• Determine similarity between two objects.
• Similarity characteristics:
• Alternatively, distance measure measure how
unlike or dissimilar objects are.
www.credosystemz.com
© Prentice Hall 36
Similarity Measures
www.credosystemz.com
© Prentice Hall 37
Distance Measures
• Measure dissimilarity between objects
www.credosystemz.com
© Prentice Hall 38
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.
www.credosystemz.com
© Prentice Hall 39
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|
www.credosystemz.com
© Prentice Hall 40
IR Query Result Measures and
Classification
IR Classification
Checkout:http://bit.ly/2Mub6xP

More Related Content

What's hot (16)

Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014
Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014
Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014
The Hive
 
ArXiv Literature Exploration using Social Network Analysis
ArXiv Literature Exploration using Social Network AnalysisArXiv Literature Exploration using Social Network Analysis
ArXiv Literature Exploration using Social Network Analysis
Tanat Iempreedee
 
Learning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data AugmentationLearning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data Augmentation
Tatsuya Shirakawa
 
Data Preparation of Data Science
Data Preparation of Data ScienceData Preparation of Data Science
Data Preparation of Data Science
DataWorks Summit/Hadoop Summit
 
4 visualization inter
4 visualization inter4 visualization inter
4 visualization inter
FEG
 
overview of_data_processing
overview of_data_processingoverview of_data_processing
overview of_data_processing
FEG
 
6 data envelopment_analysis
6 data envelopment_analysis6 data envelopment_analysis
6 data envelopment_analysis
FEG
 
Big Data + Big Sim: Query Processing over Unstructured CFD Models
Big Data + Big Sim: Query Processing over Unstructured CFD ModelsBig Data + Big Sim: Query Processing over Unstructured CFD Models
Big Data + Big Sim: Query Processing over Unstructured CFD Models
University of Washington
 
Digital Pragmatism with Business Intelligence, Big Data and Data Visualisation
Digital Pragmatism with Business Intelligence, Big Data and Data VisualisationDigital Pragmatism with Business Intelligence, Big Data and Data Visualisation
Digital Pragmatism with Business Intelligence, Big Data and Data Visualisation
Jen Stirrup
 
Current and future challenges in data science
Current and future challenges in data scienceCurrent and future challenges in data science
Current and future challenges in data science
Nathaniel Shimoni
 
Master guide to become a Data Scientist -by zekeLabs
Master guide to become a Data Scientist  -by zekeLabsMaster guide to become a Data Scientist  -by zekeLabs
Master guide to become a Data Scientist -by zekeLabs
zekeLabs Technologies
 
Data Science applications in business
Data Science applications in businessData Science applications in business
Data Science applications in business
Vladyslav Yakovenko
 
How Semantic Technologies can help to cure Hearing Loss?
How Semantic Technologies can help to cure Hearing Loss?How Semantic Technologies can help to cure Hearing Loss?
How Semantic Technologies can help to cure Hearing Loss?
Andre Freitas
 
Introduction to data science
Introduction to data scienceIntroduction to data science
Introduction to data science
Koo Ping Shung
 
Master guide to become a data scientist by zeke labs
Master guide to become a data scientist by zeke labsMaster guide to become a data scientist by zeke labs
Master guide to become a data scientist by zeke labs
zekeLabs Technologies
 
Data stream mining
Data stream miningData stream mining
Data stream mining
George Tzinos
 
Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014
Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014
Agile Data Science by Russell Jurney_ The Hive_Janruary 29 2014
The Hive
 
ArXiv Literature Exploration using Social Network Analysis
ArXiv Literature Exploration using Social Network AnalysisArXiv Literature Exploration using Social Network Analysis
ArXiv Literature Exploration using Social Network Analysis
Tanat Iempreedee
 
Learning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data AugmentationLearning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data Augmentation
Tatsuya Shirakawa
 
4 visualization inter
4 visualization inter4 visualization inter
4 visualization inter
FEG
 
overview of_data_processing
overview of_data_processingoverview of_data_processing
overview of_data_processing
FEG
 
6 data envelopment_analysis
6 data envelopment_analysis6 data envelopment_analysis
6 data envelopment_analysis
FEG
 
Big Data + Big Sim: Query Processing over Unstructured CFD Models
Big Data + Big Sim: Query Processing over Unstructured CFD ModelsBig Data + Big Sim: Query Processing over Unstructured CFD Models
Big Data + Big Sim: Query Processing over Unstructured CFD Models
University of Washington
 
Digital Pragmatism with Business Intelligence, Big Data and Data Visualisation
Digital Pragmatism with Business Intelligence, Big Data and Data VisualisationDigital Pragmatism with Business Intelligence, Big Data and Data Visualisation
Digital Pragmatism with Business Intelligence, Big Data and Data Visualisation
Jen Stirrup
 
Current and future challenges in data science
Current and future challenges in data scienceCurrent and future challenges in data science
Current and future challenges in data science
Nathaniel Shimoni
 
Master guide to become a Data Scientist -by zekeLabs
Master guide to become a Data Scientist  -by zekeLabsMaster guide to become a Data Scientist  -by zekeLabs
Master guide to become a Data Scientist -by zekeLabs
zekeLabs Technologies
 
Data Science applications in business
Data Science applications in businessData Science applications in business
Data Science applications in business
Vladyslav Yakovenko
 
How Semantic Technologies can help to cure Hearing Loss?
How Semantic Technologies can help to cure Hearing Loss?How Semantic Technologies can help to cure Hearing Loss?
How Semantic Technologies can help to cure Hearing Loss?
Andre Freitas
 
Introduction to data science
Introduction to data scienceIntroduction to data science
Introduction to data science
Koo Ping Shung
 
Master guide to become a data scientist by zeke labs
Master guide to become a data scientist by zeke labsMaster guide to become a data scientist by zeke labs
Master guide to become a data scientist by zeke labs
zekeLabs Technologies
 

Similar to Introduction to Data Mining - A Beginner's Guide (20)

Daming
DamingDaming
Daming
wetenrisoihafsa
 
Data mining
Data miningData mining
Data mining
Hoang Nguyen
 
Future se oct15
Future se oct15Future se oct15
Future se oct15
CS, NcState
 
Check Point Big Data Forum m3
Check Point Big Data Forum m3Check Point Big Data Forum m3
Check Point Big Data Forum m3
Alex Fok
 
04-Data-Analysis-Overview.pptx
04-Data-Analysis-Overview.pptx04-Data-Analysis-Overview.pptx
04-Data-Analysis-Overview.pptx
Shree Shree
 
Data science tips for data engineers
Data science tips for data engineersData science tips for data engineers
Data science tips for data engineers
IBM Analytics
 
Big data Intro - Presentation to OCHackerz Meetup Group
Big data Intro - Presentation to OCHackerz Meetup GroupBig data Intro - Presentation to OCHackerz Meetup Group
Big data Intro - Presentation to OCHackerz Meetup Group
Sri Kanajan
 
Intro to graphs for HR analytics
Intro to graphs for HR analyticsIntro to graphs for HR analytics
Intro to graphs for HR analytics
Rik Van Bruggen
 
THEORITICAL FRAMEWORK FOR THE DATA MINING PROCESS
THEORITICAL FRAMEWORK FOR THE DATA MINING PROCESSTHEORITICAL FRAMEWORK FOR THE DATA MINING PROCESS
THEORITICAL FRAMEWORK FOR THE DATA MINING PROCESS
mebite666
 
Conceptual framework for entity integration from multiple data sources - Draz...
Conceptual framework for entity integration from multiple data sources - Draz...Conceptual framework for entity integration from multiple data sources - Draz...
Conceptual framework for entity integration from multiple data sources - Draz...
Institute of Contemporary Sciences
 
Comparing Big Data and Simulation Applications and Implications for Software ...
Comparing Big Data and Simulation Applications and Implications for Software ...Comparing Big Data and Simulation Applications and Implications for Software ...
Comparing Big Data and Simulation Applications and Implications for Software ...
Geoffrey Fox
 
Data science guide
Data science guideData science guide
Data science guide
gokulprasath06
 
Intro.ppt
Intro.pptIntro.ppt
Intro.ppt
SharabiNaif
 
Intro.ppt
Intro.pptIntro.ppt
Intro.ppt
Anonymous9etQKwW
 
Intro_2.ppt
Intro_2.pptIntro_2.ppt
Intro_2.ppt
MumitAhmed1
 
OpenHPI - Parallel Programming Concepts - Week 6
OpenHPI - Parallel Programming Concepts - Week 6OpenHPI - Parallel Programming Concepts - Week 6
OpenHPI - Parallel Programming Concepts - Week 6
Peter Tröger
 
How Data Science Can Grow Your Business?
How Data Science Can Grow Your Business?How Data Science Can Grow Your Business?
How Data Science Can Grow Your Business?
Noam Cohen
 
2016 04-19 machine learning
2016 04-19 machine learning2016 04-19 machine learning
2016 04-19 machine learning
Mark Reynolds
 
OpenLSH - a framework for locality sensitive hashing
OpenLSH  - a framework for locality sensitive hashingOpenLSH  - a framework for locality sensitive hashing
OpenLSH - a framework for locality sensitive hashing
J Singh
 
Dw-dm-part-01
Dw-dm-part-01Dw-dm-part-01
Dw-dm-part-01
nash512
 
Check Point Big Data Forum m3
Check Point Big Data Forum m3Check Point Big Data Forum m3
Check Point Big Data Forum m3
Alex Fok
 
04-Data-Analysis-Overview.pptx
04-Data-Analysis-Overview.pptx04-Data-Analysis-Overview.pptx
04-Data-Analysis-Overview.pptx
Shree Shree
 
Data science tips for data engineers
Data science tips for data engineersData science tips for data engineers
Data science tips for data engineers
IBM Analytics
 
Big data Intro - Presentation to OCHackerz Meetup Group
Big data Intro - Presentation to OCHackerz Meetup GroupBig data Intro - Presentation to OCHackerz Meetup Group
Big data Intro - Presentation to OCHackerz Meetup Group
Sri Kanajan
 
Intro to graphs for HR analytics
Intro to graphs for HR analyticsIntro to graphs for HR analytics
Intro to graphs for HR analytics
Rik Van Bruggen
 
THEORITICAL FRAMEWORK FOR THE DATA MINING PROCESS
THEORITICAL FRAMEWORK FOR THE DATA MINING PROCESSTHEORITICAL FRAMEWORK FOR THE DATA MINING PROCESS
THEORITICAL FRAMEWORK FOR THE DATA MINING PROCESS
mebite666
 
Conceptual framework for entity integration from multiple data sources - Draz...
Conceptual framework for entity integration from multiple data sources - Draz...Conceptual framework for entity integration from multiple data sources - Draz...
Conceptual framework for entity integration from multiple data sources - Draz...
Institute of Contemporary Sciences
 
Comparing Big Data and Simulation Applications and Implications for Software ...
Comparing Big Data and Simulation Applications and Implications for Software ...Comparing Big Data and Simulation Applications and Implications for Software ...
Comparing Big Data and Simulation Applications and Implications for Software ...
Geoffrey Fox
 
OpenHPI - Parallel Programming Concepts - Week 6
OpenHPI - Parallel Programming Concepts - Week 6OpenHPI - Parallel Programming Concepts - Week 6
OpenHPI - Parallel Programming Concepts - Week 6
Peter Tröger
 
How Data Science Can Grow Your Business?
How Data Science Can Grow Your Business?How Data Science Can Grow Your Business?
How Data Science Can Grow Your Business?
Noam Cohen
 
2016 04-19 machine learning
2016 04-19 machine learning2016 04-19 machine learning
2016 04-19 machine learning
Mark Reynolds
 
OpenLSH - a framework for locality sensitive hashing
OpenLSH  - a framework for locality sensitive hashingOpenLSH  - a framework for locality sensitive hashing
OpenLSH - a framework for locality sensitive hashing
J Singh
 
Dw-dm-part-01
Dw-dm-part-01Dw-dm-part-01
Dw-dm-part-01
nash512
 

More from gokulprasath06 (6)

Exploratory data analysis
Exploratory data analysisExploratory data analysis
Exploratory data analysis
gokulprasath06
 
K-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source codeK-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source code
gokulprasath06
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
gokulprasath06
 
Reinforcement Learning Guide For Beginners
Reinforcement Learning Guide For BeginnersReinforcement Learning Guide For Beginners
Reinforcement Learning Guide For Beginners
gokulprasath06
 
Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)
gokulprasath06
 
OLAP
OLAPOLAP
OLAP
gokulprasath06
 
Exploratory data analysis
Exploratory data analysisExploratory data analysis
Exploratory data analysis
gokulprasath06
 
K-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source codeK-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source code
gokulprasath06
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
gokulprasath06
 
Reinforcement Learning Guide For Beginners
Reinforcement Learning Guide For BeginnersReinforcement Learning Guide For Beginners
Reinforcement Learning Guide For Beginners
gokulprasath06
 
Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)
gokulprasath06
 

Recently uploaded (20)

How to regulate and control your it-outsourcing provider with process mining
How to regulate and control your it-outsourcing provider with process miningHow to regulate and control your it-outsourcing provider with process mining
How to regulate and control your it-outsourcing provider with process mining
Process mining Evangelist
 
HershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistributionHershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistribution
hershtara1
 
problem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursingproblem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursing
vishnudathas123
 
Decision Trees in Artificial-Intelligence.pdf
Decision Trees in Artificial-Intelligence.pdfDecision Trees in Artificial-Intelligence.pdf
Decision Trees in Artificial-Intelligence.pdf
Saikat Basu
 
Collibra DQ Installation setup and debug
Collibra DQ Installation setup and debugCollibra DQ Installation setup and debug
Collibra DQ Installation setup and debug
karthikprince20
 
4. Multivariable statistics_Using Stata_2025.pdf
4. Multivariable statistics_Using Stata_2025.pdf4. Multivariable statistics_Using Stata_2025.pdf
4. Multivariable statistics_Using Stata_2025.pdf
axonneurologycenter1
 
Customer Segmentation using K-Means clustering
Customer Segmentation using K-Means clusteringCustomer Segmentation using K-Means clustering
Customer Segmentation using K-Means clustering
Ingrid Nyakerario
 
定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证
定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证
定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证
Taqyea
 
AWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATA
AWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATAAWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATA
AWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATA
SnehaBoja
 
chapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.pptchapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.ppt
justinebandajbn
 
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
disnakertransjabarda
 
新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办
新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办
新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办
Taqyea
 
Lagos School of Programming Final Project Updated.pdf
Lagos School of Programming Final Project Updated.pdfLagos School of Programming Final Project Updated.pdf
Lagos School of Programming Final Project Updated.pdf
benuju2016
 
Process Mining at Dimension Data - Jan vermeulen
Process Mining at Dimension Data - Jan vermeulenProcess Mining at Dimension Data - Jan vermeulen
Process Mining at Dimension Data - Jan vermeulen
Process mining Evangelist
 
2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry
2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry
2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry
bastakwyry
 
chapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptxchapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptx
justinebandajbn
 
定制学历(美国Purdue毕业证)普渡大学电子版毕业证
定制学历(美国Purdue毕业证)普渡大学电子版毕业证定制学历(美国Purdue毕业证)普渡大学电子版毕业证
定制学历(美国Purdue毕业证)普渡大学电子版毕业证
Taqyea
 
Process Mining at AE - Key success factors
Process Mining at AE - Key success factorsProcess Mining at AE - Key success factors
Process Mining at AE - Key success factors
Process mining Evangelist
 
RAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit FrameworkRAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit Framework
apanneer
 
Modern_Distribution_Presentation.pptx Aa
Modern_Distribution_Presentation.pptx AaModern_Distribution_Presentation.pptx Aa
Modern_Distribution_Presentation.pptx Aa
MuhammadAwaisKamboh
 
How to regulate and control your it-outsourcing provider with process mining
How to regulate and control your it-outsourcing provider with process miningHow to regulate and control your it-outsourcing provider with process mining
How to regulate and control your it-outsourcing provider with process mining
Process mining Evangelist
 
HershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistributionHershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistribution
hershtara1
 
problem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursingproblem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursing
vishnudathas123
 
Decision Trees in Artificial-Intelligence.pdf
Decision Trees in Artificial-Intelligence.pdfDecision Trees in Artificial-Intelligence.pdf
Decision Trees in Artificial-Intelligence.pdf
Saikat Basu
 
Collibra DQ Installation setup and debug
Collibra DQ Installation setup and debugCollibra DQ Installation setup and debug
Collibra DQ Installation setup and debug
karthikprince20
 
4. Multivariable statistics_Using Stata_2025.pdf
4. Multivariable statistics_Using Stata_2025.pdf4. Multivariable statistics_Using Stata_2025.pdf
4. Multivariable statistics_Using Stata_2025.pdf
axonneurologycenter1
 
Customer Segmentation using K-Means clustering
Customer Segmentation using K-Means clusteringCustomer Segmentation using K-Means clustering
Customer Segmentation using K-Means clustering
Ingrid Nyakerario
 
定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证
定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证
定制(意大利Rimini毕业证)布鲁诺马代尔纳嘉雷迪米音乐学院学历认证
Taqyea
 
AWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATA
AWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATAAWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATA
AWS-AIML-PRESENTATION RELATED TO DATA SCIENCE TO DATA
SnehaBoja
 
chapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.pptchapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.ppt
justinebandajbn
 
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
disnakertransjabarda
 
新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办
新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办
新西兰文凭奥克兰理工大学毕业证书AUT成绩单补办
Taqyea
 
Lagos School of Programming Final Project Updated.pdf
Lagos School of Programming Final Project Updated.pdfLagos School of Programming Final Project Updated.pdf
Lagos School of Programming Final Project Updated.pdf
benuju2016
 
Process Mining at Dimension Data - Jan vermeulen
Process Mining at Dimension Data - Jan vermeulenProcess Mining at Dimension Data - Jan vermeulen
Process Mining at Dimension Data - Jan vermeulen
Process mining Evangelist
 
2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry
2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry
2-Raction quotient_١٠٠١٤٦.ppt of physical chemisstry
bastakwyry
 
chapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptxchapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptx
justinebandajbn
 
定制学历(美国Purdue毕业证)普渡大学电子版毕业证
定制学历(美国Purdue毕业证)普渡大学电子版毕业证定制学历(美国Purdue毕业证)普渡大学电子版毕业证
定制学历(美国Purdue毕业证)普渡大学电子版毕业证
Taqyea
 
RAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit FrameworkRAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit Framework
apanneer
 
Modern_Distribution_Presentation.pptx Aa
Modern_Distribution_Presentation.pptx AaModern_Distribution_Presentation.pptx Aa
Modern_Distribution_Presentation.pptx Aa
MuhammadAwaisKamboh
 

Introduction to Data Mining - A Beginner's Guide

  • 1. © Prentice Hall 1 CIS 674 Introduction to Data Mining Srinivasan Parthasarathy [email protected] Office Hours: TTH 2-3:18PM DL317 www.credosystemz.com
  • 2. © Prentice Hall 2 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. www.credosystemz.com
  • 3. © Prentice Hall 3 Introduction • Data is produced at a phenomenal rate • Our ability to store has grown • Users expect more sophisticated information • How? UNCOVER HIDDEN INFORMATION DATA MINING www.credosystemz.com
  • 4. © Prentice Hall 4 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 www.credosystemz.com
  • 5. © Prentice Hall 5 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 www.credosystemz.com
  • 6. © Prentice Hall 6 Database Processing vs. Data Mining Processing • Query – Well defined – SQL • Query – Poorly defined – No precise query language ◼ Output – Precise – Subset of database ◼ Output – Fuzzy – Not a subset of database www.credosystemz.com
  • 7. © Prentice Hall 7 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) www.credosystemz.com
  • 8. © Prentice Hall 8 Data Mining Models and Tasks www.credosystemz.com
  • 9. © Prentice Hall 9 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 www.credosystemz.com
  • 10. © Prentice Hall 10 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. www.credosystemz.com
  • 11. © Prentice Hall 11 Ex: Time Series Analysis • Example: Stock Market • Predict future values • Determine similar patterns over time • Classify behavior www.credosystemz.com
  • 12. © Prentice Hall 12 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. www.credosystemz.com
  • 13. 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 www.credosystemz.com
  • 14. © Prentice Hall 14 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 www.credosystemz.com
  • 15. © Prentice Hall 15 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 www.credosystemz.com
  • 16. © Prentice Hall 16 KDD Issues • Human Interaction • Overfitting • Outliers • Interpretation • Visualization • Large Datasets • High Dimensionality www.credosystemz.com
  • 17. © Prentice Hall 17 KDD Issues (cont’d) • Multimedia Data • Missing Data • Irrelevant Data • Noisy Data • Changing Data • Integration • Application www.credosystemz.com
  • 18. © Prentice Hall 18 Social Implications of DM • Privacy • Profiling • Unauthorized use www.credosystemz.com
  • 19. © Prentice Hall 19 Data Mining Metrics • Usefulness • Return on Investment (ROI) • Accuracy • Space/Time www.credosystemz.com
  • 20. © Prentice Hall 20 Database Perspective on Data Mining • Scalability • Real World Data • Updates • Ease of Use www.credosystemz.com
  • 21. © Prentice Hall 21 Outline of Today’s Class • Statistical Basics – Point Estimation – Models Based on Summarization – Bayes Theorem – Hypothesis Testing – Regression and Correlation • Similarity Measures www.credosystemz.com
  • 22. © Prentice Hall 22 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? www.credosystemz.com
  • 23. © Prentice Hall 23 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) www.credosystemz.com
  • 24. © Prentice Hall 24 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! www.credosystemz.com
  • 25. © Prentice Hall 25 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. www.credosystemz.com
  • 26. © Prentice Hall 26 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: www.credosystemz.com
  • 27. © Prentice Hall 27 MLE Example (cont’d) • General likelihood formula: • Estimate for p is then 4/5 = 0.8 www.credosystemz.com
  • 28. © Prentice Hall 28 Expectation-Maximization (EM) • Solves estimation with incomplete data. • Obtain initial estimates for parameters. • Iteratively use estimates for missing data and continue until convergence. www.credosystemz.com
  • 29. © Prentice Hall 29 EM Example www.credosystemz.com
  • 30. © Prentice Hall 30 EM Algorithm www.credosystemz.com
  • 31. © Prentice Hall 31 Bayes Theorem Example • Credit authorizations (hypotheses): h1=authorize purchase, h2 = authorize after further identification, h3=do not authorize, h4= do not authorize but contact police • Assign twelve data values for all combinations of credit and income: • From training data: P(h1) = 60%; P(h2)=20%; P(h3)=10%; P(h4)=10%. 1 2 3 4 Excellent x1 x2 x3 x4 Good x5 x6 x7 x8 Bad x9 x10 x11 x12 www.credosystemz.com
  • 32. © Prentice Hall 32 Bayes Example(cont’d) • Training Data: ID Income Credit Class xi 1 4 Excellent h1 x4 2 3 Good h1 x7 3 2 Excellent h1 x2 4 3 Good h1 x7 5 4 Good h1 x8 6 2 Excellent h1 x2 7 3 Bad h2 x11 8 2 Bad h2 x10 9 3 Bad h3 x11 10 1 Bad h4 x9 www.credosystemz.com
  • 33. © Prentice Hall 33 Bayes Example(cont’d) • Calculate P(xi|hj) and P(xi) • Ex: P(x7|h1)=2/6; P(x4|h1)=1/6; P(x2|h1)=2/6; P(x8|h1)=1/6; P(xi|h1)=0 for all other xi. • Predict the class for x4: – Calculate P(hj|x4) for all hj. – Place x4 in class with largest value. – Ex: • P(h1|x4)=(P(x4|h1)(P(h1))/P(x4) =(1/6)(0.6)/0.1=1. • x4 in class h1. www.credosystemz.com
  • 34. © Prentice Hall 34 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 = c0 + c1 x1 + … + cn xn • Find values to best fit the data • Correlation www.credosystemz.com
  • 35. © Prentice Hall 35 Similarity Measures • Determine similarity between two objects. • Similarity characteristics: • Alternatively, distance measure measure how unlike or dissimilar objects are. www.credosystemz.com
  • 36. © Prentice Hall 36 Similarity Measures www.credosystemz.com
  • 37. © Prentice Hall 37 Distance Measures • Measure dissimilarity between objects www.credosystemz.com
  • 38. © Prentice Hall 38 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. www.credosystemz.com
  • 39. © Prentice Hall 39 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| www.credosystemz.com
  • 40. © Prentice Hall 40 IR Query Result Measures and Classification IR Classification Checkout:http://bit.ly/2Mub6xP