SlideShare a Scribd company logo
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Data Mining: Introduction
Lecture Notes for Chapter 1
Introduction to Data Mining
by
Dr. Muntadher Khamees
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
We are drowning in data,
but starving for
knowledge
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
 Lots of data is being collected
and warehoused
– Web data, e-commerce
– purchases at department/
grocery stores
– Bank/Credit Card
transactions
 Computers have become cheaper and more powerful
 Competitive Pressure is Strong
– Provide better, customized services for an edge (e.g. in
Customer Relationship Management)
Why Mine Data? Commercial Viewpoint
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
 Traditional techniques infeasible for raw data
 Data mining may help scientists
– in classifying and segmenting data
– in Hypothesis Formation
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
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
0
500,000
1,000,000
1,500,000
2,000,000
2,500,000
3,000,000
3,500,000
4,000,000
1995 1996 1997 1998 1999
The Data Gap
Total new disk (TB) since 1995
Number of
analysts
From: R. Grossman, C. Kamath, V. Kumar, “Data Mining for Scientific and Engineering Applications”
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
What is Data Mining?
 Many Definitions
– Non-trivial extraction of implicit, previously
unknown and potentially useful information from
data
– Exploration & analysis, by automatic or
semi-automatic means, of
large quantities of data
in order to discover
meaningful patterns
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
What is (not) Data Mining?
 What is Data Mining?
– Certain names are more
prevalent in certain US
locations (O’Brien, O’Rurke,
O’Reilly… in Boston area)
– Group together similar
documents returned by
search engine according to
their context (e.g. Amazon
rainforest, Amazon.com,)
 What is not Data
Mining?
– Look up phone
number in phone
directory
– Query a Web
search engine for
information about
“Amazon”
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
 Draws ideas from machine learning/AI, pattern
recognition, statistics, and database systems
 Traditional Techniques
may be unsuitable due to
– High dimensionality
of data
– Heterogeneous,
distributed nature
of data
Origins of Data Mining
Machine Learning/
Pattern
Recognition
Statistics/
AI
Data Mining
Database
systems
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
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.
From [Fayyad, et.al.] Advances in Knowledge Discovery and Data Mining, 1996
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Data Mining Tasks...
 Classification [Predictive]
 Clustering [Descriptive]
 Association Rule Discovery [Descriptive]
 Regression [Predictive]
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Classification: Definition
 Given a collection of records (training set )
– Each record contains a set of attributes, one of the
attributes is the class.
 Find a model for class attribute as a function
of the values of other attributes.
 Goal: previously unseen records should be
assigned a class as accurately as possible.
– A test set is used to determine the accuracy of the
model. Usually, the given data set is divided into
training and test sets, with training set used to build
the model and test set used to validate it.
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Classification Example
Tid 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
9 No Married 75K No
10 No Single 90K Yes
10
Refund Marital
Status
Taxable
Income Cheat
No Single 75K ?
Yes Married 50K ?
No Married 150K ?
Yes Divorced 90K ?
No Single 40K ?
No Married 80K ?
10
Test
Set
Training
Set
Model
Learn
Classifier
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Classification Example
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Classifying Galaxies
Early
Intermediate
Late
Data Size:
• 72 million stars, 20 million galaxies
• Object Catalog: 9 GB
• Image Database: 150 GB
Class:
• Stages of Formation
Attributes:
• Image features,
• Characteristics of light
waves received, etc.
Courtesy: http://aps.umn.edu
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
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.
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Clustering Example
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Illustrating Clustering
Euclidean Distance Based Clustering in 3-D space.
Intracluster distances
are minimized
Intercluster distances
are maximized
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Comparing Clustering and Classification
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Association Rule Discovery: Definition
 Given a set of records each of which contain some
number of items from a given collection;
– Produce dependency rules which will predict
occurrence of an item based on occurrences of other
items.
TID Items
1 Bread, Coke, Milk
2 Beer, Bread
3 Beer, Coke, Diaper, Milk
4 Beer, Bread, Diaper, Milk
5 Coke, Diaper, Milk
Rules Discovered:
{Milk} --> {Coke}
{Diaper, Milk} --> {Beer}
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Regression
 Predict a value of a given continuous valued variable
based on the values of other variables, assuming a
linear or nonlinear model of dependency.
 Greatly studied in statistics, neural network fields.
 Comparing Regression and Classification
Property Classification Regression
Output type Discrete continuous
What are goes to
training to find
Decision boundary Best fit line
Evaluation Accuracy r2,(sum of square error )
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Anomaly/Outlier Detection
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›
Challenges of Data Mining
 Scalability
 Dimensionality
 Complex and Heterogeneous Data
 Data Quality
 Data Ownership and Distribution
 Privacy
 Streaming Data

More Related Content

PPT
chap1_introT Data Mining
PPT
Draws ideas from machine learning/AI, pattern recognition, statistics, and da...
PPT
Data mining
PPT
Data mining
PDF
13 cluster_analysis pdf it mst be jjid iki
PDF
chapter1_Introduction.pdf data mining ppt
PDF
Data mining
PPTX
Data mining Basics and complete description onword
chap1_introT Data Mining
Draws ideas from machine learning/AI, pattern recognition, statistics, and da...
Data mining
Data mining
13 cluster_analysis pdf it mst be jjid iki
chapter1_Introduction.pdf data mining ppt
Data mining
Data mining Basics and complete description onword

Similar to chap1_intro.ppt (20)

PPT
chap8_basic_cluster_analysis.ppt
PPT
chap2_data.ppt
PPT
chap2_data.ppt
PPT
Data science: DATA MINING AND DATA WHEREHOUSE.ppt
PDF
Data Mining and its detail processes with steps
PPTX
lec01-IntroductionToDataMining.pptx
PPT
Data Mining- Unit-I PPT (1).ppt
PPTX
1. Introduction to Data Mining (12).pptx
PPT
data mining presentation power point for the study
PPT
Data Mining Course Overview Overview.ppt
PPT
lect1lect1lect1lect1lect1lect1lect1lect1.ppt
PPT
lghjghgggkgjhgjghhjgjhgkhjghjghjghjghect1.ppt
PPT
lect1.ppt
PPT
Data Mining Introduction
PDF
Module-1-IntroductionToDataMining (Data Mining)
PPTX
Data Mining Presentation.pptx
PPTX
01 Introduction to Data Mining
DOCX
Data Mining IntroductionLecture Notes for Chapter 1.docx
PPT
Talk
PPTX
Data mining , Knowledge Discovery Process, Classification
chap8_basic_cluster_analysis.ppt
chap2_data.ppt
chap2_data.ppt
Data science: DATA MINING AND DATA WHEREHOUSE.ppt
Data Mining and its detail processes with steps
lec01-IntroductionToDataMining.pptx
Data Mining- Unit-I PPT (1).ppt
1. Introduction to Data Mining (12).pptx
data mining presentation power point for the study
Data Mining Course Overview Overview.ppt
lect1lect1lect1lect1lect1lect1lect1lect1.ppt
lghjghgggkgjhgjghhjgjhgkhjghjghjghjghect1.ppt
lect1.ppt
Data Mining Introduction
Module-1-IntroductionToDataMining (Data Mining)
Data Mining Presentation.pptx
01 Introduction to Data Mining
Data Mining IntroductionLecture Notes for Chapter 1.docx
Talk
Data mining , Knowledge Discovery Process, Classification
Ad

More from ssuserfdf196 (9)

PPT
computer ethics for information technology ch1.ppt
PPT
computer ethics for information technology.ppt
PPTX
تحليل الثغرات - المحاضرة الاولى - أمن سيبراني.pptx
PPT
yemen stem for education stem and iot.ppt
PPT
Multimedia introduction.ppt
PDF
big data
PPTX
chapter6.pptx
PPT
chap4_basic_classification(2).ppt
PPTX
lab_1_NW.pptx
computer ethics for information technology ch1.ppt
computer ethics for information technology.ppt
تحليل الثغرات - المحاضرة الاولى - أمن سيبراني.pptx
yemen stem for education stem and iot.ppt
Multimedia introduction.ppt
big data
chapter6.pptx
chap4_basic_classification(2).ppt
lab_1_NW.pptx
Ad

Recently uploaded (20)

PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
Introduction to machine learning and Linear Models
PDF
Lecture1 pattern recognition............
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PDF
Business Analytics and business intelligence.pdf
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
Introduction to machine learning and Linear Models
Lecture1 pattern recognition............
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Reliability_Chapter_ presentation 1221.5784
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Business Analytics and business intelligence.pdf
Miokarditis (Inflamasi pada Otot Jantung)
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Introduction-to-Cloud-ComputingFinal.pptx
climate analysis of Dhaka ,Banglades.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Qualitative Qantitative and Mixed Methods.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Galatica Smart Energy Infrastructure Startup Pitch Deck
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx

chap1_intro.ppt

  • 1. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Data Mining: Introduction Lecture Notes for Chapter 1 Introduction to Data Mining by Dr. Muntadher Khamees
  • 2. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› We are drowning in data, but starving for knowledge
  • 3. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›  Lots of data is being collected and warehoused – Web data, e-commerce – purchases at department/ grocery stores – Bank/Credit Card transactions  Computers have become cheaper and more powerful  Competitive Pressure is Strong – Provide better, customized services for an edge (e.g. in Customer Relationship Management) Why Mine Data? Commercial Viewpoint
  • 4. 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  Traditional techniques infeasible for raw data  Data mining may help scientists – in classifying and segmenting data – in Hypothesis Formation
  • 5. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› 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 0 500,000 1,000,000 1,500,000 2,000,000 2,500,000 3,000,000 3,500,000 4,000,000 1995 1996 1997 1998 1999 The Data Gap Total new disk (TB) since 1995 Number of analysts From: R. Grossman, C. Kamath, V. Kumar, “Data Mining for Scientific and Engineering Applications”
  • 6. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› What is Data Mining?  Many Definitions – Non-trivial extraction of implicit, previously unknown and potentially useful information from data – Exploration & analysis, by automatic or semi-automatic means, of large quantities of data in order to discover meaningful patterns
  • 7. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› What is (not) Data Mining?  What is Data Mining? – Certain names are more prevalent in certain US locations (O’Brien, O’Rurke, O’Reilly… in Boston area) – Group together similar documents returned by search engine according to their context (e.g. Amazon rainforest, Amazon.com,)  What is not Data Mining? – Look up phone number in phone directory – Query a Web search engine for information about “Amazon”
  • 8. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#›  Draws ideas from machine learning/AI, pattern recognition, statistics, and database systems  Traditional Techniques may be unsuitable due to – High dimensionality of data – Heterogeneous, distributed nature of data Origins of Data Mining Machine Learning/ Pattern Recognition Statistics/ AI Data Mining Database systems
  • 9. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› 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. From [Fayyad, et.al.] Advances in Knowledge Discovery and Data Mining, 1996
  • 10. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Data Mining Tasks...  Classification [Predictive]  Clustering [Descriptive]  Association Rule Discovery [Descriptive]  Regression [Predictive]
  • 11. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Classification: Definition  Given a collection of records (training set ) – Each record contains a set of attributes, one of the attributes is the class.  Find a model for class attribute as a function of the values of other attributes.  Goal: previously unseen records should be assigned a class as accurately as possible. – A test set is used to determine the accuracy of the model. Usually, the given data set is divided into training and test sets, with training set used to build the model and test set used to validate it.
  • 12. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Classification Example Tid 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 9 No Married 75K No 10 No Single 90K Yes 10 Refund Marital Status Taxable Income Cheat No Single 75K ? Yes Married 50K ? No Married 150K ? Yes Divorced 90K ? No Single 40K ? No Married 80K ? 10 Test Set Training Set Model Learn Classifier
  • 13. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Classification Example
  • 14. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Classifying Galaxies Early Intermediate Late Data Size: • 72 million stars, 20 million galaxies • Object Catalog: 9 GB • Image Database: 150 GB Class: • Stages of Formation Attributes: • Image features, • Characteristics of light waves received, etc. Courtesy: http://aps.umn.edu
  • 15. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› 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.
  • 16. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Clustering Example
  • 17. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Illustrating Clustering Euclidean Distance Based Clustering in 3-D space. Intracluster distances are minimized Intercluster distances are maximized
  • 18. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Comparing Clustering and Classification
  • 19. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Association Rule Discovery: Definition  Given a set of records each of which contain some number of items from a given collection; – Produce dependency rules which will predict occurrence of an item based on occurrences of other items. TID Items 1 Bread, Coke, Milk 2 Beer, Bread 3 Beer, Coke, Diaper, Milk 4 Beer, Bread, Diaper, Milk 5 Coke, Diaper, Milk Rules Discovered: {Milk} --> {Coke} {Diaper, Milk} --> {Beer}
  • 20. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Regression  Predict a value of a given continuous valued variable based on the values of other variables, assuming a linear or nonlinear model of dependency.  Greatly studied in statistics, neural network fields.  Comparing Regression and Classification Property Classification Regression Output type Discrete continuous What are goes to training to find Decision boundary Best fit line Evaluation Accuracy r2,(sum of square error )
  • 21. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Anomaly/Outlier Detection
  • 22. © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 ‹#› Challenges of Data Mining  Scalability  Dimensionality  Complex and Heterogeneous Data  Data Quality  Data Ownership and Distribution  Privacy  Streaming Data