Docsity

Principles of Data Mining: Lecture 9 - Cluster Analysis and Clustering Algorithms - Prof. , Study notes of Computer Science

Partial preview of the text

Download Principles of Data Mining: Lecture 9 - Cluster Analysis and Clustering Algorithms - Prof. and more Study notes Computer Science in PDF only on Docsity!

CMSC828G

Principles of Data Mining

Lecture #

•^

Today’s Reading:– HMS, chapter 9

-^

Today’s Lecture:– Descriptive Modeling– Clustering Algorithms

-^

Upcoming:– hw2 available on web page this evening– project proposals due 3/

Descriptive Models

•^

model presents the main features of the data, aglobal summary of the data– cluster analysis– density estimation

General Applications of Clustering

•^

Pattern Recognition

-^

Spatial Data Analysis– create thematic maps in GIS by clustering feature spaces– detect spatial clusters and explain them in spatial data mining

-^

Image Processing

-^

Economic Science (especially market research)

-^

WWW– Document classification– Cluster Weblog data to discover groups of similar access patterns

Examples of Clustering Applications

•^

Marketing: Help marketers discover distinct groups in theircustomer bases, and then use this knowledge to developtargeted marketing programs

-^

Land use: Identification of areas of similar land use in anearth observation database

-^

Insurance: Identifying groups of motor insurance policyholders with a high average claim cost

-^

City-planning: Identifying groups of houses according totheir house type, value, and geographical location

-^

Earth-quake studies: Observed earth quake epicentersshould be clustered along continent faults

Clustering

•^

decomposing or partitioning a data set into groups sothat– the points in one group are

similar

to each other

  • and are as

different

as possible from the points in other

groups

•^

Measure of

distance

is fundamental

•^

Explicit representation:– D(x(i),x(j)) for each x– only feasible for small domains

-^

Measurement:– distance computed from features– we saw a number of different ways of doing this in ch. 2

Clustering

•^

Huge

body of work

•^

(aka unsupervised learning, segmentation, …)

-^

One of the major difficulties is in evaluating thesuccess of a method

-^

validity depends on goals

-^

if goal is to find ‘interesting’ clusters, this is ratherdifficult to quantify

-^

however, for our probabilistic methods, we willpresent some tools for validating our models

Families of Clustering Algorithms

•^

Partition-based methods– e.g., K-means

-^

Hierarchical clustering– e.g., hierarchical agglomerative clustering

-^

Probabilistic model-based clustering– e.g., mixture models

Partition-based Clustering Algorithms

•^

Given set of n data points D={x(1), …, x(n)}partition data into k clusters C = {C

, …, C 1

}k

such that each x(i) is assigned to a unique C

j

and Score(C,D) is minimized/maximized

-^

combinatorial optimization: searching for allocation ofn objects into k classes that maximizes score function

-^

Number of possible allocations

n

k

•^

exhaustive typically finding the optimal solution isintractable

-^

Resort to iterative improvement

K-means

•^

Idea:– Start with randomly chosen cluster centers– Assign points to give greatest increase in score– Recompute cluster centers– Reassign points– Repeat until no changes

K-means example X(2)

X(3)

X(5)

X(1)

X(6) X(7)

X(4) X(8)

K-means example X(2)

X(3)

X(5)

X(1)

X(6) X(7)

X(4) X(8)

c^1

c^3

c^2

K-means example X(2)

X(3)

X(5)

X(1)

X(6) X(7)

X(4) X(8)

c^1

c^3

c^2

K-means example X(2)

X(3)

X(5)

X(1)

X(6) X(7)

X(4) X(8)

c^1

c^3 c^2

K-means example

X(2)

X(3)

X(5)

X(1)

X(6) X(7)

X(4) X(8)