Docsity

Data Mining Lecture 1: Introduction to Data Mining, Lecture notes of Management Information Systems

Toggle sidebar
bg1
1
Data Mining
Introduction to Modern Information
Retrieval from Databases and the Web
Data Mining Lecture 1 2
Administrivia
• Instructor:
– Kostis Sagonas (MIC, Hus 1, 352)
• Course home page:
http://user.it.uu.se/~kostis/Teaching/DM-05/
• If you want to be enrolled in the course, you have to also send,
by November 11, a mail with your name, your UU e-mail address,
your personnummer, and the course you are registering to:
• Assistants:
– Per Gustafsson [email protected]
– Tobias Lindahl [email protected]
Data Mining Lecture 1 3
Course Structure
• Course has theoretical and practical aspects
– Need both in modern data mining!
• Written examination = tests understanding of main
concepts/ideas covered in the course
• Assignments = practice and hands-on experience
– Hand-in to & corrected by the assistants
– Assignment deadlines are strict but you get one
“free” extension (if you really need it)
– Absolute final deadline: Easter 2006
Data Mining Lecture 1 4
Recommended Books
Data Mining Lecture 1 5
Papers from the recent DM literature
• In addition to lecture slides, various papers
from the recent research on Data Mining are
available at the course’s homepage.
• Some of these handouts are required reading.
Data Mining Lecture 1 6
Course Syllabus
•Introduction to data mining (today)
•Basic data mining techniques (1 lecture)
•Classification (2 lectures)
•Clustering (2 lectures)
•Association rule mining (3 lectures)
•Sequence mining (1 lecture)
•Web mining (1 lecture)
•Search engines (1 lecture)
•Privacy-preserving data mining (2 lectures)
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Data Mining Lecture 1: Introduction to Data Mining and more Lecture notes Management Information Systems in PDF only on Docsity!

Data Mining

Introduction to Modern Information

Retrieval from Databases and the Web

Data Mining Lecture 1 2

Administrivia

  • Instructor:
    • Kostis Sagonas (MIC, Hus 1, 352)
  • Course home page:
http://user.it.uu.se/~kostis/Teaching/DM-05/
  • If you want to be enrolled in the course, you have to also send, by November 11, a mail with your name, your UU e-mail address, your personnummer, and the course you are registering to:
[email protected]

Data Mining Lecture 1 3

Course Structure

  • Course has theoretical and practical aspects
    • Need both in modern data mining!
  • Written examination = tests understanding of main
concepts/ideas covered in the course
  • Assignments = practice and hands-on experience
    • Hand-in to & corrected by the assistants
    • Assignment deadlines are strict but you get one
“free” extension (if you really need it)
  • Absolute final deadline: Easter 2006 Data Mining Lecture 1 4

Recommended Books

Data Mining Lecture 1 5

Papers from the recent DM literature

  • In addition to lecture slides, various papers

from the recent research on Data Mining are

available at the course’s homepage.

  • Some of these handouts are required reading.

Data Mining Lecture 1 6

Course Syllabus

  • Introduction to data mining (today)
  • Basic data mining techniques (1 lecture)
  • Classification (2 lectures)
  • Clustering (2 lectures)
  • Association rule mining (3 lectures)
  • Sequence mining (1 lecture)
  • Web mining (1 lecture)
  • Search engines (1 lecture)
  • Privacy-preserving data mining (2 lectures)

Introduction to Data Mining

Data Mining Lecture 1 8

Lecture’s Overview

  • Motivation: Why data mining?
  • What is data mining?
  • Data mining: On what kind of data?
  • Data mining functionality
  • Are all the patterns interesting?
  • Classification of data mining systems
  • Major issues in data mining

Data Mining Lecture 1 9

Historical Introduction

Originally, “data mining” was a statistician’s term for
overusing data to draw invalid inferences
Bonferroni’s theorem warns us that if there are too many
possible conclusions to draw, some will be true for
purely statistical reasons, with no physical validity.
(In)Famous example: David Rhine, a “parapsychologist” at Duke

University in the 1950’s tested students for “extrasensory perception” by asking them to guess 10 cards - red or black. About 1/1000 of them guessed all 10 cards correctly, and he declared them to have ESP. When he retested them, he found that they did no better than average. His conclusion: “Telling people that they have ESP, causes them to lose it!” Data Mining Lecture 1 10

“Necessity is the Mother of Invention”

  • Data explosion problem
    • Automated data collection tools and mature
database (DB) technology lead to tremendous
amounts of data stored in information repositories
such as DBs and data warehouses
  • We are drowning in data, but starving for knowledge!

Data Mining Lecture 1 11

Why Mine Data? Commercial Viewpoint

  • Lots of data is being

collected and warehoused

  • Web data, e-commerce
  • purchases at supermarkets
or big department 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? 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

Data Mining Lecture 1 19

Market Analysis and Management (2)

  • Customer profiling
    • data mining can identify what types of customers buy what products (clustering or classification)
  • Identify customer requirements
    • identify the “best” products for different customers
    • use prediction techniques to find what factors will attract new customers
  • Provide summary information
    • various multi-dimensional summary reports
    • statistical summary information (data central tendency and variation) Data Mining Lecture 1 20

Corporate Analysis and Risk Management

  • Finance planning and asset evaluation
    • cash flow analysis and prediction
    • contingent claim analysis to evaluate assets
    • cross-sectional and time series analysis (financial-ratio, trend analysis, etc.)
  • Resource planning:
    • summarize and compare the resources and spending
  • Competition:
    • monitor competitors and market directions
    • group customers into classes and a class-based pricing procedure
    • set pricing strategy in a highly competitive market

Data Mining Lecture 1 21

Fraud Detection and Management (1)

  • Applications
    • widely used in health care, retail, credit card services, telecommunications (phone card fraud), etc.
  • Approach
    • use historical data to build models of fraudulent behavior and employ data mining to help identify similar instances
  • Examples
    • auto insurance: detect groups of people who stage accidents to collect on insurance
    • money laundering: detect suspicious money transactions
    • medical insurance: detect professional patients or rings of doctors or rings of references

Data Mining Lecture 1 22

Detecting inappropriate medical treatment
  • Australian Health Insurance Commission identifies that in many cases blanket screening tests were requested (saved Australian $1m/yr).
Detecting telephone fraud
  • Telephone call model: destination of the call, duration, time of day or week. Analyze patterns that deviate from an expected norm.
  • British Telecom identified discrete groups of callers with frequent intra-group calls, especially mobile phones, and broke a multimillion dollar fraud.
Retail
  • Analysts estimate that 38% of retail shrink is due to dishonest employees.

Fraud Detection and Management (2)

Data Mining Lecture 1 23

Sports
  • IBM Advanced Scout analyzed NBA game statistics (shots blocked, assists, and fouls) to gain competitive advantage for New York Knicks and Miami Heat
Astronomy
  • JPL and the Palomar Observatory discovered 22 quasars with the help of data mining
Internet Web Surf-Aid
  • IBM Surf-Aid applies data mining algorithms to Web access logs for market-related pages to discover customer preference and behavior pages, analyzing effectiveness of Web marketing, improving Web site organization, etc.

Other Successful Applications

Data Mining Lecture 1 24

Examples of “success stories”

  • Decision trees constructed from bank-loan histories, allow banks to decide whether to grant a loan and at which rate.
  • Patterns of traveler behavior manage the sale of discounted tickets on planes, hotel rooms, etc.
  • “Diapers and beer”. Placement of items in supermarket shelves to increase their sales.
  • Skycat and Sloan Sky Survey: clustering sky objects by their radiation levels in different bands allowed astronomers to distinguish between galaxies, nearby stars, and many other kinds of celestial objects.
  • Comparison of genotype of people with/without a condition allowed discovery of sets of genes that together account for many cases of diabetes.

Data Mining Lecture 1 25

Application: Sky Survey Cataloging

  • Goal: To predict class (star or galaxy) of sky objects,
especially visually faint ones, based on the telescopic
survey images (from Palomar Observatory)
  • 3000 images with 23,040 x 23,040 pixels per image
  • Approach:
  • Segment the image
  • Measure image attributes (features) - 40 of them per object
  • Model the class based on these features
  • Success Story: Could find 16 new high red-shift quasars, some of the farthest objects that are difficult to find!

From [Fayyad, et.al.] Advances in Knowledge Discovery and Data Mining, 1996 Data Mining Lecture 1 26

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.

Data Mining Lecture 1 27

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.

Data Mining Lecture 1 28

Data Mining: A part of the KDD Process

Selection: Obtain data from various sources.
Preprocessing: Cleanse data.
Transformation: Convert to common format.
Transform to new format.
Data Mining: Obtain desired results.
Interpretation/Evaluation: Present results to user
in meaningful manner.

Data Mining Lecture 1 29

  • 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

Steps of the KDD Process

Data Mining Lecture 1 30

KDD Process Example: Web Log Analysis

  • 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

Data Mining Lecture 1 37

Data Mining Functionalities (1)

  • Concept description: Characterization and
discrimination
  • Generalize, summarize, and contrast data characteristics, e.g., dry vs. wet regions
  • Association (correlation and causality)
  • Multi-dimensional vs. single-dimensional association
  • age(X, “20..29”) & salary(X, “20..29K”)  buys(X, “PlasmaTV”) [support = 2%, confidence = 60%]
  • buys(T, “DVD”)  buys(T, “DVD movies”) [support=1%, confidence=75%]

Data Mining Lecture 1 38

Data Mining Functionalities (2)

  • Classification and Prediction
    • Finding models (functions) that describe and distinguish classes or concepts for future prediction
    • E.g., classify countries based on climate, or classify cars based on gas mileage
    • Presentation: decision-tree, classification rule, neural network
    • Prediction: Predict some unknown or missing numerical values
  • Cluster analysis
    • Class label is unknown: Group data to form new classes, e.g., cluster houses to find distribution patterns
    • Clustering based on the principle: maximizing the intra-class similarity and minimizing the interclass similarity

Data Mining Lecture 1 39

Data Mining Functionalities (3)

  • Outlier analysis
    • Outlier: a data object that does not comply with the general behavior of the data
    • It can be considered as noise or exception but is quite useful in fraud detection, rare events analysis
  • Trend and evolution analysis
    • Trend and deviation: regression analysis
    • Sequential pattern mining, periodicity analysis
    • Similarity-based analysis
  • Other pattern-directed or statistical analyses

Data Mining Lecture 1 40

Are All the “Discovered” Patterns Interesting?

  • A data mining system/query may generate thousands of patterns, not all of them are interesting. - Suggested approach: Human-centered, query-based, focused mining
  • Interestingness measures: A pattern is interesting if it is easily understood by humans, valid on new or test data with some degree of certainty, potentially useful, novel, or validates some hypothesis that a user seeks to confirm
  • Objective vs. subjective interestingness measures:
    • Objective: based on statistics and structures of patterns, e.g., support, confidence, etc.
    • Subjective: based on user’s belief in the data, e.g., unexpectedness, novelty, actionability, etc.

Data Mining Lecture 1 41

Can We Find All and Only Interesting Patterns?

  • Find all the interesting patterns: Completeness
    • Can a data mining system find all the interesting patterns?
    • Association vs. classification vs. clustering
  • Search for only interesting patterns: Optimization
    • Can a data mining system find only the interesting patterns?
    • Approaches
      • First generate all the patterns and then filter out the uninteresting ones.
      • Generate only the interesting patterns—mining query optimization

Data Mining Lecture 1 42

Data Mining Communities

  • Statistics
  • AI, where it is called “machine learning”
  • Researchers in clustering algorithms and in

neural networks

  • Visualization
  • Databases

In this course, we will examine data mining

(mostly) from a database perspective.

Data Mining Lecture 1 43

Database Perspective on Data Mining

  • Scalability
  • Real World Data
  • Updates
  • Ease of Use

Data Mining Lecture 1 44

Data Mining: Confluence of Multiple Disciplines

Data Mining

Databases Statistics
Information
Retrieval
Algorithms
Machine
Learning
Visualization

•Bayes Theorem •Regression Analysis •EM Algorithm •K-Means Clustering •Time Series Analysis

•Relational Data Model •SQL •Association Rule Algorithms •Data Warehousing •Scalability Techniques

•Neural Networks •Decision Tree Algorithms

•Similarity Measures •Hierarchical Clustering •IR Systems •Imprecise Queries •Textual Data •Web Search Engines

•Algorithm Design Techniques •Algorithm Analysis •Data Structures

Data Mining Lecture 1 45

Data Mining: Classification Schemes

  • General functionality
    • Descriptive data mining
    • Predictive data mining
  • Different views, different classifications
    • Kinds of databases to be mined
    • Kinds of knowledge to be discovered
    • Kinds of techniques utilized
    • Kinds of applications adapted

Data Mining Lecture 1 46

A Multi-Dimensional View of Data Mining

Classification

  • Databases to be mined
    • Relational, transactional, object-oriented, object-relational, active, spatial, time-series, text, multi-media, heterogeneous, legacy, WWW, etc.
  • Knowledge to be mined
    • Characterization, discrimination, association, classification, clustering, trend, deviation and outlier analysis, etc.
    • Multiple/integrated functions and mining at multiple levels
  • Techniques utilized
    • Database-oriented, data warehouse (OLAP), machine learning, statistics, visualization, neural network, etc.
  • Applications adapted
    • Retail, telecommunication, banking, fraud analysis, DNA mining, stock market analysis, Web mining, Web-log analysis, etc.

Data Mining Lecture 1 47

  • Mining methodology and user interaction
    • Mining different kinds of knowledge in databases
    • Interactive mining of knowledge at multiple levels of abstraction
    • Incorporation of background knowledge
    • Data mining query languages and ad-hoc data mining
    • Expression and visualization of data mining results
    • Handling noise and incomplete data
    • Pattern evaluation: the interestingness problem
  • Performance and scalability
    • Efficiency and scalability of data mining algorithms
    • Parallel, distributed and incremental mining methods

Major Issues in Data Mining (1)

Data Mining Lecture 1 48

  • Issues relating to the diversity of data types
    • Handling relational and complex types of data
    • Mining information from heterogeneous databases and global information systems (WWW)
  • Issues related to applications and social impacts
    • Application of discovered knowledge
      • Domain-specific data mining tools
      • Intelligent query answering
      • Process control and decision making
    • Integration of the discovered knowledge with existing knowledge: A knowledge fusion problem
    • Protection of data security, integrity, and privacy

Major Issues in Data Mining (2)