Data Mining and Warehousing: - Module 1 - Introduction
Data Mining and Warehousing: - Module 1 - Introduction
— Module 1 —
— Introduction —
July 1, 2019
Why Data Mining?
July 1, 2019
What Is Data Mining?
July 1, 2019
Knowledge Discovery (KDD) Process
Task-relevant Data
Data Cleaning
Data Integration
Databases
July 1, 2019
Data cleaning (to remove noise and inconsistent
data)
Data integration (where multiple data sources may
. be combined)
Data selection (where data relevant to the
analysis task are retrieved from the database)
Data transformation (where data are transformed
. or consolidated into forms appropriate
for mining by performing summary or aggregation .
July 1, 2019
Data mining (an essential process where intelligent
methods are applied in order to extract data patterns)
July 1, 2019
Origins of Data Mining
Draws ideas from machine learning/AI, pattern
recognition, statistics, and database systems
Traditional Techniques
may be unsuitable due to
Statistics/ Machine Learning/
– Enormity of data AI Pattern
– High dimensionality Recognition
– Heterogeneous,
distributed nature Database
of data systems
July 1, 2019
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.
July 1, 2019
Data Mining Tasks...
Classification [Predictive]
Clustering [Descriptive]
Association Rule Discovery [Descriptive]
Sequential Pattern Discovery [Descriptive]
Regression [Predictive]
Deviation Detection [Predictive]
July 1, 2019
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.
July 1, 2019
Classification Example
Set Classifier
July 1, 2019
Classification: Application 1
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.
July 1, 2019
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.
July 1, 2019
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.
July 1, 2019
Illustrating Clustering
Euclidean Distance Based Clustering in 3-D space.
Intracluster Intercluster
distances distances
are minimized are maximized
July 1, 2019
Clustering: Application
Document Clustering:
– Goal: To find groups of documents that are similar to
each other based on the important terms appearing in
them.
– Approach: To identify frequently occurring terms in
each document. Form a similarity measure based on
the frequencies of different terms. Use it to cluster.
– Gain: Information Retrieval can utilize the clusters to
relate a new document or search term to clustered
documents.
July 1, 2019
Illustrating Document Clustering
Clustering Points: 3204 Articles of Los Angeles Times.
Similarity Measure: How many words are common in
these documents (after some word filtering).
National 273 36
July 1, 2019
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,C oke,M ilk
Rules Discovered:
2 Beer,Bread {Milk} --> {Coke}
3 Beer,Cok e,D iap er,Milk {Diaper, Milk} --> {Beer}
4 Beer,Bread ,D iap er,Milk
5 Coke,D iaper,M ilk
July 1, 2019
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.
So, don’t be surprised if you find six-packs stacked
next to diapers!
July 1, 2019
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.
Examples:
– Predicting sales amounts of new product based on
advertising expenditure.
– Predicting wind velocities as a function of
temperature, humidity, air pressure, etc.
– Time series prediction of stock market indices.
July 1, 2019
Deviation/Anomaly Detection
Detect significant deviations from normal behavior
Applications:
– Credit Card Fraud Detection
– Network Intrusion
Detection
July 1, 2019
Challenges of Data Mining
Scalability
Dimensionality
Complex and Heterogeneous Data
Data Quality
Data Ownership and Distribution
Privacy Preservation
Streaming Data
July 1, 2019
Data Mining and Business Intelligence
Increasing potential
to support
business decisions End User
Decision
Making
Data Exploration
Statistical Summary, Querying, and Reporting
Database
Technology Statistics
Machine Visualization
Learning Data Mining
Pattern
Recognition Other
Algorithm Disciplines
July 1, 2019
Why Not Traditional Data Analysis?
Tremendous amount of data
Algorithms must be highly scalable to handle such as tera-bytes of
data
High-dimensionality of data
Micro-array may have tens of thousands of dimensions
High complexity of data
Data streams and sensor data
Time-series data, temporal data, sequence data
Structure data, graphs, social networks and multi-linked data
Heterogeneous databases and legacy databases
Spatial, spatiotemporal, multimedia, text and Web data
Software programs, scientific simulations
New and sophisticated applications
July 1, 2019
Multi-Dimensional View of Data Mining
Data to be mined
Relational, data warehouse, transactional, stream, object-
oriented/relational, active, spatial, time-series, text, multi-media,
heterogeneous, legacy, WWW
Knowledge to be mined
Characterization, discrimination, association, classification, clustering,
trend/deviation, 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, bio-data mining, stock
market analysis, text mining, Web mining, etc.
July 1, 2019
Data Mining: On What Kinds of Data?
Database-oriented data sets and applications
Relational database, data warehouse, transactional database
Advanced data sets and advanced applications
Data streams and sensor data
Time-series data, temporal data, sequence data (incl. bio-sequences)
Structure data, graphs, social networks and multi-linked data
Object-relational databases
Heterogeneous databases and legacy databases
Spatial data and spatiotemporal data
Multimedia database
Text databases
The World-Wide Web
July 1, 2019
Major Issues in Data Mining
Mining methodology
Mining different kinds of knowledge from diverse data types, e.g., bio, stream,
Web
Performance: efficiency, effectiveness, and scalability
Pattern evaluation: the interestingness problem
Incorporation of background knowledge
Handling noise and incomplete data
Parallel, distributed and incremental mining methods
Integration of the discovered knowledge with existing one: knowledge fusion
User interaction
Data mining query languages and ad-hoc mining
Expression and visualization of data mining results
Interactive mining of knowledge at multiple levels of abstraction
Applications and social impacts
Domain-specific data mining & invisible data mining
Protection of data security, integrity, and privacy
July 1, 2019
Summary
July 1, 2019