• No results found

Introduction to Data Mining

N/A
N/A
Protected

Academic year: 2021

Share "Introduction to Data Mining"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

Introduction to Data Mining

(2)

Why Data Mining?

• Explosive Growth of Data

– Data collection and data availability

• Automated data collection tools, Internet, smartphones, … – Major sources of abundant data

• Business: Web, e-commerce, transactions, stocks, …

• Science: Remote sensing, biotechnology, scientific simulation, …

• Society and everyone: news, digital cameras, YouTube

• We are drowning in data, but starving for knowledge!

(3)

Decision Support

• Typical procedure

– Data -> Knowledge -> Action/Decision -> Goal

• Examples

– Netflix collects user ratings of movies (data) => What types of movies you will like (knowledge) => Recommend new movies to you (action) => Users stay with Netflix (goal) – Gene sequences of cancer patients (data) => Which genes

lead to cancer? (knowledge) => Appropriate treatment (action) => Save life (goal)

– Road traffic (data) => Which road is likely to be congested?

(knowledge) => Suggest better routes to drivers (action) =>

Save time and energy (goal)

(4)

What Is Data Mining?

• Data mining

– Extraction of interesting (non-trivial, implicit, previously unknown and potentially useful) patterns or knowledge from huge amount of data

• Alternative names

– Knowledge discovery (mining) in databases (KDD), knowledge extraction, data/pattern analysis, etc.

• Watch out: Is everything “data mining”?

– Simple search and query processing – (Deductive) expert systems

(5)

Data Mining Process

Data Cleaning

Data Integration Data Warehouse

Task-relevant Data

Selection

Data Mining

Pattern Evaluation

(6)

Data Mining Procedure

Increasing potential to support

business decisions End User

Business Analyst

Data Analyst

DBA

Decision Making

Data Presentation Visualization Techniques

Data Mining

Information Discovery Data Exploration

Statistical Summary, Querying, and Reporting

Data Preprocessing/Integration, Data Warehouses Data Sources

Paper, Files, Web documents, Scientific experiments, Database Systems

(7)

Multi-Dimensional View of Data Mining

• Data to be mined

– Transactional data, stream, spatiotemporal, time-series, sequence, text and web, multi-media, graphs & social and information networks

• Knowledge to be mined

– Association, classification, clustering, trend/deviation, outlier analysis, etc.

– Descriptive vs. predictive data mining

• Techniques utilized

– Data warehouse (OLAP), machine learning, statistics, pattern recognition, optimization, visualization, etc.

• Applications adapted

– Retail, telecommunication, banking, fraud analysis, bio-data mining, stock market analysis, text mining, Web mining, etc.

(8)

Data Mining: On What Kinds of Data?

• Relational database, data warehouse, transactional database

• Data streams and sensor data

• Time-series data, temporal data, sequence data

• Structure data, graphs, social networks and multi-linked data

• Spatial data and spatiotemporal data

• Multimedia data

• Text data

• WWW data

(9)

Data Mining Function: (1) Generalization

• Information integration and data warehouse construction

– Data cleaning, transformation, integration, and multidimensional data model

• Data cube technology

– Scalable methods for computing (i.e.,

materializing) multidimensional aggregates – OLAP (online analytical processing)

(10)

Data Warehousing

Total annual sales of TVs in U.S.A.

Date

Country

sum

sum TV

VCR PC

1Qtr 2Qtr 3Qtr 4Qtr

U.S.A

Canada Mexico

sum

• Aggregate data from different dimensions

Total sales of all products at

(11)

Data Mining Function: (2) Association Analysis

• Frequent patterns (or frequent itemsets)

– What items are frequently purchased together in Walmart?

• Association rules

– A typical association rule

• Diaper  Beer [0.5%, 75%] (support, confidence)

• How to mine such patterns and rules efficiently in large datasets?

(12)

Association Rule Mining

• Data: A set of transactions, and each transaction consists of a set of items

• Association rules: A set of rules that characterize associations between items

Market-Basket transactions

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}

(13)

Data Mining Function: (3) Classification

• Classification and label prediction

– Construct models (functions) based on some training examples – Describe and distinguish classes or concepts for future prediction – Predict some unknown class labels

• Typical methods

– Decision trees, naïve Bayesian classification, support vector machines, neural networks, rule-based classification, pattern-based classification, logistic regression, …

• Typical applications:

– Identifying spams, predicting treatment outcomes, categorizing articles,

(14)

Classification

user age gender education Ad?

27 Female Bachelor Yes

30 Male PhD Yes

55 Male Bachelor No

features class labels

user age gender education Ad?

60 Female Bachelor

23 Male Master

a classifier: f(x)=y: features  class labels

labeled

unlabeled

training

testing

(15)

Data Mining Function: (4) Cluster Analysis

• Unsupervised learning (i.e., Class label is unknown)

• Partition data into groups based on object similarity

• Principle: Maximizing intra-class similarity & minimizing interclass similarity

• Methods: Partitional, hierarchical, density-based, mixture model, spectral methods

• Applications: document clustering, user log clustering, target marketing, climate modeling, …

(16)

Clustering

• Finding groups of objects such that the objects in a group will be similar to one another and different from the objects in other groups

(17)

• Anomalies

– the set of objects are considerably dissimilar from the remainder of the data

– occur relatively infrequently – when they do occur, their

consequences can be quite dramatic and quite often in a negative sense

• Approaches

– Statistics-based, depth-based,

model-based, by product of cluster analysis

• Applications

– credit card frauds, network

intrusions, system failures, water leak, ...

“Mining needle in a haystack.

So much hay and so little time”

Data Mining Function: (5) Anomaly Detection

(18)

Evaluation of Knowledge

• Are all mined knowledge interesting?

– One can mine tremendous amount of “patterns” and knowledge – Some may fit only certain dimension space (time, location, …) – Some may not be representative, may be transient, …

• Evaluation of mined knowledge

– Descriptive vs. predictive – Coverage

– Typicality vs. novelty – Accuracy

– Timeliness – …

(19)

Data Mining: Confluence of Multiple Disciplines

Data Mining

Machine

Learning Statistics

Applications

Algorithm

Pattern Recognition

High-Performance Computing

Visualization

Database Technology

(20)

Challenges in Data Mining

• 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

– Noisy and unreliable – Dynamically evolving – High dimensionality

– Multiple heterogeneous sources

• New and sophisticated applications

(21)

Applications of Data Mining

• Web page analysis: from web page classification, clustering to PageRank & HITS algorithms

• Collaborative analysis & recommender systems

• Basket data analysis to targeted marketing

• Biological and medical data analysis: classification, cluster analysis (microarray data analysis), biological sequence analysis, biological network analysis

• Social media analysis: mine user opinions and obtain insights from data collected from social networking platforms

(22)

Major Issues in Data Mining (1)

• Mining Methodology

– Mining various and new kinds of knowledge – Mining knowledge from different perspectives

– Handling noise, uncertainty, and incompleteness of data

– Pattern evaluation and pattern- or constraint-guided mining

• User Interaction

– Interactive mining

– Incorporation of background knowledge

– Presentation and visualization of data mining results

(23)

Major Issues in Data Mining (2)

• Efficiency and Scalability

– Efficiency and scalability of data mining algorithms

– Parallel, distributed, stream, and incremental mining methods

• Diversity of data types

– Handling complex types of data

– Mining dynamic, networked, and global data repositories

• Data mining and society

– Social impacts of data mining – Privacy-preserving data mining – Invisible data mining

(24)

Take-away Message

• Data Mining refers to non-trivial extraction of implicit,

previously unknown and potentially useful knowledge from data

• Data Mining covers topics including warehousing, association analysis, clustering, classification, anomaly detection, etc.

(based on the type of mined knowledge), as well as transaction data mining, stream data mining, sequence data mining, graph data mining, etc. (based on the type of data)

• Data Mining has wide applications in many different fields in business, science, engineering, education, and many more

References

Related documents

Statistics versus Data Mining (oversimplified) z Both are concerned with data analysis. z Statistical techniques can profitable be used in

• This lecture topic is about the theme which has come to be known as data mining and knowledge discovery in large databases, data warehouses, and other massive

This paper presents SDMOQL, a spatial mining query language, based on the standard OQL, which permits the specification of the task-relevant data, the kind of knowledge to be

Graph mining is used to mine frequent graph patterns, and perform character- ization, discrimination, classification, and cluster analysis over large graph data sets.. Graph mining

More precisely, a Data Mining query language, should provide primitives to (1) select the data to be mined and pre-process these data, (2) specify the kind of patterns to be

• Scaling up for high dimensional data and high speed data streams • Mining sequence data and time series data. • Mining complex knowledge from complex data • Data mining in a

Mining a stream data is referred as data stream mining or Massive Data Mining (MDM). It is relatively a new field. Few important features of data streams are 1) huge in size. 3)

1.5 The Data Mining process: overview Data Selection Extracted data Preliminary filtering Filtered data Transformation Transformed data Data mining Data patterns Interpretation