0% found this document useful (0 votes)
127 views

Data Mining

The document discusses data mining concepts, including defining data mining as the extraction of interesting patterns from large databases, and knowledge discovery as the overall process of discovering useful information from data through data mining techniques. It also outlines some common data mining techniques like classification, clustering, association rule mining, and sequential pattern discovery and provides examples of how organizations can apply data mining.

Uploaded by

Anil Hegde
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views

Data Mining

The document discusses data mining concepts, including defining data mining as the extraction of interesting patterns from large databases, and knowledge discovery as the overall process of discovering useful information from data through data mining techniques. It also outlines some common data mining techniques like classification, clustering, association rule mining, and sequential pattern discovery and provides examples of how organizations can apply data mining.

Uploaded by

Anil Hegde
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 26

Data Mining Concepts

By:
Nithin Bhaktha H
4NM07CS073
NMAMIT, Nitte
What is Data Mining?

 Data mining:
 Extraction of interesting (non-trivial, implicit,
previously unknown and potentially useful)
information or patterns from data in large
databases

Wednesday, December 08, 202 Data Mining 2


ho
sp
st e le ita
oc ct lp
k ron at
ca
ta t ra ic ie

Wednesday, December 08, 202


lo
g
de p nt
s oi
nt re
or O - gi
re de L of st
m r s TP -s rie
s

Data Mining
ot al
ai
rli e b te e
ne s en a nk le da
re si n ph ta
se g tra on
rv i m ns e
at a ac ca
io ge ti lls
ns s on
s
cr ta
ed x
it re
Data

ca tu
rd rn
s
ch
ar
ge
s
3
Multidisciplinary
Statistics
Pattern Neurocomputing
Recognition

Machine
Data Mining Learning AI

Databases
KDD

Wednesday, December 08, 202 Data Mining 4


Data Warehouse

•Data warehousing is defined as a process of


centralized data management and retrieval.

Wednesday, December 08, 202 Data Mining 5


Understanding the term Data Warehousing

 Data Warehouse:
The term Data Warehouse was coined by Bill Inmon in 1990, which
he defined in the following way: "A warehouse is a subject-oriented,
integrated, time-variant and non-volatile collection of data in support
of management's decision making process". He defined the terms in
the sentence as follows:
 Subject Oriented:
Data that gives information about a particular subject instead of
about a company's ongoing operations.
 Integrated:
Data that is gathered into the data warehouse from a variety of
sources and merged into a coherent whole.
 Time-variant:
All data in the data warehouse is identified with a particular time
period.
 Non-volatile
Data is stable in a data warehouse. More data is added but data is
never removed. This enables management to gain a consistent
picture of the business.
Wednesday, December 08, 202 Data Mining 6
What can DM do?

 Blockbuster Entertainment mines its video


rental history database to recommend
rentals to individual customers.

 American Express can suggest products to its


cardholders based on analysis of their
monthly expenditures.

Wednesday, December 08, 202 Data Mining 7


Data Mining: A KDD Process

Pattern Evaluation
 Data mining: the core of
knowledge discovery process.
Data Mining

Task-relevant Data
Data Selection
Data Preprocessing
Data Warehouse

Data Cleaning
Data Integration

Databases
Wednesday, December 08, 202 Data Mining 8
Steps of a KDD Process

 Learning the application domain:


 relevant prior knowledge and goals of application
 Creating a target data set: data selection
 Data cleaning and preprocessing: (may take 60% of effort!)
 Data reduction and transformation:
 Find useful features, dimensionality/variable reduction, invariant
representation.
 Choosing functions of data mining
 summarization, classification, regression, association, clustering.
 Choosing the mining algorithm(s)
 Data mining: search for patterns of interest
 Pattern evaluation and knowledge presentation
 visualization, transformation, removing redundant patterns, etc.
 Use of discovered knowledge

Wednesday, December 08, 202 Data Mining 9


Data Mining and Business Intelligence

Increasing potential
to support
business decisions End User
Making
Decisions

Data Presentation Business


Analyst
Visualization Techniques
Data Mining Data
Information Discovery Analyst

Data Exploration
Statistical Analysis, Querying and Reporting
Data Warehouses / Data Marts
OLAP, MDA DBA
Data Sources
Paper, Files, Information Providers, Database Systems, OLTP
Wednesday, December 08, 202 Data Mining 10
Data Mining Techniques

 Classification
 Clustering
 Mining Associations
 Sequential Pattern Discovery

Wednesday, December 08, 202 Data Mining 11


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.
Wednesday, December 08, 202 Data Mining 12
Classification Example
l l us
ir ca ir ca o
go g o
tinu
te te n ss
ca ca co c l a
Tid Refund Marital Taxable Refund Marital Taxable
Status Income Cheat Status Income Cheat

1 Yes Single 125K No No Single 75K ?


2 No Married 100K No Yes Married 50K ?
3 No Single 70K No No Married 150K ?
4 Yes Married 120K No Yes Divorced 90K ?
5 No Divorced 95K Yes No Single 40K ?
6 No Married 60K No No Married 80K ? Test
10

Set
7 Yes Divorced 220K No
8 No Single 85K Yes
9 No Married 75K No
Training
Learn
10
10 No Single 90K Yes
Set Classifier Model

Wednesday, December 08, 202 Data Mining 13


Classification: Application

 Direct Marketing
 Goal: Reduce cost of mailing by targeting a set of
consumers likely to buy a new cell-phone product.
 Approach:
▪ Use the data for a similar product introduced before.
▪ We know which customers decided to buy and which decided
otherwise. This {buy, don’t buy} decision forms the class attribute.
▪ Collect various demographic, lifestyle, and company-interaction
related information about all such customers.
▪ Type of business, where they stay, how much they earn, etc.
▪ Use this information as input attributes to learn a classifier model.

Wednesday, December 08, 202 Data Mining 14


Classification: Application 2

 Fraud Detection
 Goal: Predict fraudulent cases in credit card transactions.
 Approach:
▪ Use credit card transactions and the information on its account-
holder as attributes.
▪ When does a customer buy, what does he buy, how often he pays on
time, etc
▪ Label past transactions as fraud or fair transactions. This forms the
class attribute.
▪ Learn a model for the class of the transactions.
▪ Use this model to detect fraud by observing credit card transactions
on an account.

Wednesday, December 08, 202 Data Mining 15


Classification Example

Wednesday, December 08, 202 Data Mining 16


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.

Wednesday, December 08, 202 Data Mining 17


Illustrating Clustering

 Euclidean Distance Based Clustering in 3-D space.

Intracluster
Intraclusterdistances
distances Intercluster
Interclusterdistances
distances
are
areminimized
minimized are
aremaximized
maximized

Wednesday, December 08, 202 Data Mining 18


Applications
 Customer segmentation e.g. for targeted marketing
 Group/cluster existing customers based on time series of
payment history such that similar customers in same
cluster.
 Identify micro-markets and develop policies for each
 Collaborative filtering:
 group based on common items purchased
 Text clustering
 Compression

Wednesday, December 08, 202 Data Mining 19


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
Rules
RulesDiscovered:
Discovered:
2 Beer, Bread
{Milk}
{Milk}-->
-->{Coke}
{Coke}
3 Beer, Coke, Diaper, Milk {Diaper,
{Diaper,Milk}
Milk}-->
-->{Beer}
{Beer}
4 Beer, Bread, Diaper, Milk
5 Coke, Diaper, Milk

Wednesday, December 08, 202 Data Mining 20


Association Rule Discovery: Application

 Supermarket shelf management.


 Goal: To identify items that are bought together by
sufficiently many customers.
 Approach: Process the point-of-sale data collected with
barcode scanners to find dependencies among items.
 A classic rule --
▪ If a customer buys diaper and milk, then he is very likely to buy
beer:

Wednesday, December 08, 202 Data Mining 21


The Sad Truth About Diapers and Beer

▪ So, don’t be surprised if you find six-packs stacked next to diapers!

Wednesday, December 08, 202 Data Mining 22


Sequential Pattern Discovery: Definition

Given is a set of objects, with each object associated with its


own timeline of events, find rules that predict strong
sequential dependencies among different events:

 In telecommunications alarm logs,


▪ (Inverter_Problem Excessive_Line_Current)
(Rectifier_Alarm) --> (Fire_Alarm)
 In point-of-sale transaction sequences,
▪ Computer Bookstore:
(Intro_To_Visual_C) (C++_Primer) -->
(Perl_for_dummies,Tcl_Tk)
▪ Athletic Apparel Store:
(Shoes) (Racket, Racketball) --> (Sports_Jacket)

Wednesday, December 08, 202 Data Mining 23


Data Mining in practice

Industry Application
Finance Credit Card Analysis
Insurance Claims, Fraud Analysis
Telecommunication Call record analysis
Transport Logistics management
Consumer goods promotion analysis
Data Service providers Value added data
Utilities Power usage analysis

Wednesday, December 08, Data Mining 24


2021
Facebook Example

Wednesday, December 08, Data Mining 25


2021
Thank You

Thank You
Wednesday, December 08, 202 Data Mining 26

You might also like