Various techniques and measures for evaluating the validity of clusters obtained through data mining. It covers descriptive modeling, random data, evaluation approaches, and unsupervised and supervised evaluation measures. The document also includes examples and visual inspections.
Download Evaluating Cluster Validity in Data Mining: Techniques and Measures - Prof. Jennifer L. Ne and more Study notes Data Analysis & Statistical Methods in PDF only on Docsity!
Data Mining
CS57300 / STAT 59800-
Purdue University
April 7, 2009
Descriptive modeling: evaluation
Cluster validity
• For prediction tasks there are a variety of external evaluation metrics
• Accuracy, squared loss, area under ROC, etc.
• For cluster analysis the external evaluation should evaluate the “goodness” of
the resulting clusters
• Why do we want external validation?
• To avoid finding patterns in noise
• To compare clustering algorithms
• To compare two sets of clusters
Random data
October 30, 2007 Data Mining: Concepts and Techniques 4
Clusters found in Random Data
(^00 0). 2 0. 4 0. 6 0. 8 1
1
2
3
4
5
6
7
8
9 1
x
y
Random
Points
x
y
K-means
x
y
DBSCAN
x
y
Complete
Link
Unsupervised
Correlation
• Compute the correlation between the initial similarity matrix and an “ideal”
cluster matrix
• Entry i,j is 1 if i and j are in the same cluster, 0 otherwise
• High correlation indicates that points in the same cluster are close to each
other
• Assumes that the proximity values are [0,1]
• When is this a good measure?
Example
October 30, 2007 Data Mining: Concepts and Techniques 8
Measuring Cluster Validity Via Correlation
! Correlation of ideal similarity and proximity
matrices for the K-means clusterings of the
following two data sets.
x
y
x
y
Corr = - 0. 9235 Corr = - 0. 5810
Visual inspection
• Order the proximity matrix with respect to cluster labels
• Inspect visually
• Good clusterings exhibit clear block pattern
Cohesion and separation
October 30, 2007 Data Mining: Concepts and Techniques 22
Internal Measures: Cohesion and Separation
! Prototype-Based View of Cohesion and Separation.
x " Ci
proximity ( x , c i )^1 "^2 "%^3 $'&#+!'^5 )!^6 - )^4 )^7 %&^8 '*'$^9 +:'^5 ):^6 -