CSE5334 DATA MINING CSE4334/5334 Data Mining, Fall 2014 Department of Computer Science and Engineering, University of Texas at Arlington Chengkai Li (Slides.

Slides:



Advertisements
Similar presentations
Clustering II.
Advertisements

SEEM Tutorial 4 – Clustering. 2 What is Cluster Analysis?  Finding groups of objects such that the objects in a group will be similar (or.
Clustering (2). Hierarchical Clustering Produces a set of nested clusters organized as a hierarchical tree Can be visualized as a dendrogram –A tree like.
Hierarchical Clustering
Unsupervised Learning
Cluster Analysis: Basic Concepts and Algorithms
1 CSE 980: Data Mining Lecture 16: Hierarchical Clustering.
Hierarchical Clustering. Produces a set of nested clusters organized as a hierarchical tree Can be visualized as a dendrogram – A tree-like diagram that.
Data Mining Cluster Analysis Basics
Hierarchical Clustering, DBSCAN The EM Algorithm
Clustering Paolo Ferragina Dipartimento di Informatica Università di Pisa This is a mix of slides taken from several presentations, plus my touch !
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/ What is Cluster Analysis? l Finding groups of objects such that the objects in a group will.
Data Mining Cluster Analysis: Basic Concepts and Algorithms
Agglomerative Hierarchical Clustering 1. Compute a distance matrix 2. Merge the two closest clusters 3. Update the distance matrix 4. Repeat Step 2 until.
More on Clustering Hierarchical Clustering to be discussed in Clustering Part2 DBSCAN will be used in programming project.
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/ What is Cluster Analysis? l Finding groups of objects such that the objects in a group will.
Data Mining Cluster Analysis: Basic Concepts and Algorithms
unsupervised learning - clustering
Data Mining Cluster Analysis: Basic Concepts and Algorithms
Data Mining Cluster Analysis: Basic Concepts and Algorithms
Hierarchical Clustering Produces a set of nested clusters organized as a hierarchical tree Can be visualized as a dendrogram –A tree like diagram that.
Clustering II.
Cluster Analysis.
Cluster Analysis: Basic Concepts and Algorithms
Cluster Analysis CS240B Lecture notes based on those by © Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004.
Data Mining Cluster Analysis: Basic Concepts and Algorithms
© University of Minnesota Data Mining for the Discovery of Ocean Climate Indices 1 CSci 8980: Data Mining (Fall 2002) Vipin Kumar Army High Performance.
Clustering Ram Akella Lecture 6 February 23, & 280I University of California Berkeley Silicon Valley Center/SC.
DATA MINING LECTURE 8 Clustering The k-means algorithm
ZHANGXI LIN TEXAS TECH UNIVERSITY Lecture Notes 10 CRM Segmentation - Introduction.
Data Mining Cluster Analysis: Basic Concepts and Algorithms
Clustering Basic Concepts and Algorithms 2
Partitional and Hierarchical Based clustering Lecture 22 Based on Slides of Dr. Ikle & chapter 8 of Tan, Steinbach, Kumar.
Data Mining Cluster Analysis: Basic Concepts and Algorithms Adapted from Lecture Notes for Chapter 8 Introduction to Data Mining by Tan, Steinbach, Kumar.
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 8 Introduction to Data Mining by Tan, Steinbach, Kumar 10/30/2007.
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 8 Introduction to Data Mining by Minqi Zhou Minqi Zhou Introduction.
Ch. Eick: Introduction to Hierarchical Clustering and DBSCAN 1 Remaining Lectures in Advanced Clustering and Outlier Detection 2.Advanced Classification.
Jianping Fan Department of Computer Science UNC-Charlotte Density-Based Data Clustering Algorithms: K-Means & Others.
Computational Biology Clustering Parts taken from Introduction to Data Mining by Tan, Steinbach, Kumar Lecture Slides Week 9.
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 8 Introduction to Data Mining by Tan, Steinbach, Kumar © Tan,Steinbach,
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 8 Introduction to Data Mining by Minqi Zhou © Tan,Steinbach, Kumar.
Data Mining Cluster Analysis: Basic Concepts and Algorithms.
Hierarchical Clustering Produces a set of nested clusters organized as a hierarchical tree Can be visualized as a dendrogram – A tree like diagram that.
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 8 Introduction to Data Mining by Tan, Steinbach, Kumar © Tan,Steinbach,
Clustering/Cluster Analysis. What is Cluster Analysis? l Finding groups of objects such that the objects in a group will be similar (or related) to one.
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 8 Introduction to Data Mining by Tan, Steinbach, Kumar © Tan,Steinbach,
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 8 Introduction to Data Mining by Tan, Steinbach, Kumar © Tan,Steinbach,
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/ Data Mining: Cluster Analysis This lecture node is modified based on Lecture Notes for Chapter.
Data Mining Cluster Analysis: Basic Concepts and Algorithms Lecture Notes Introduction to Data Mining by Tan, Steinbach, Kumar © Tan,Steinbach, Kumar Introduction.
CSE4334/5334 Data Mining Clustering. What is Cluster Analysis? Finding groups of objects such that the objects in a group will be similar (or related)
Data Mining Cluster Analysis: Basic Concepts and Algorithms.
ΠΑΝΕΠΙΣΤΗΜΙΟ ΙΩΑΝΝΙΝΩΝ ΑΝΟΙΚΤΑ ΑΚΑΔΗΜΑΪΚΑ ΜΑΘΗΜΑΤΑ Εξόρυξη Δεδομένων Ομαδοποίηση (clustering) Διδάσκων: Επίκ. Καθ. Παναγιώτης Τσαπάρας.
Data Mining Classification and Clustering Techniques Introduction to Data Mining by Tan, Steinbach, Kumar © Tan,Steinbach, Kumar Introduction to Data Mining.
Data Mining: Basic Cluster Analysis
Data Mining Cluster Analysis: Basic Concepts and Algorithms
Prof. Paolo Ferragina, Algoritmi per "Information Retrieval"
Hierarchical Clustering
Data Mining Cluster Analysis: Basic Concepts and Algorithms
More on Clustering in COSC 4335
Clustering CSC 600: Data Mining Class 21.
Clustering 28/03/2016 A diák alatti jegyzetszöveget írta: Balogh Tamás Péter.
What Is the Problem of the K-Means Method?
CSE 5243 Intro. to Data Mining
Hierarchical Clustering
Cluster Analysis: Basic Concepts and Algorithms
CSE 5243 Intro. to Data Mining
Clustering 23/03/2016 A diák alatti jegyzetszöveget írta: Balogh Tamás Péter.
SEEM4630 Tutorial 3 – Clustering.
Hierarchical Clustering
Data Mining Cluster Analysis: Basic Concepts and Algorithms
Presentation transcript:

CSE5334 DATA MINING CSE4334/5334 Data Mining, Fall 2014 Department of Computer Science and Engineering, University of Texas at Arlington Chengkai Li (Slides courtesy of Vipin Kumar) Lecture 12: Clustering (3)

Hierarchical Clustering

 Produces a set of nested clusters organized as a hierarchical tree  Can be visualized as a dendrogram  A tree like diagram that records the sequences of merges or splits 3

Strengths of Hierarchical Clustering  Do not have to assume any particular number of clusters  Any desired number of clusters can be obtained by ‘cutting’ the dendogram at the proper level  They may correspond to meaningful taxonomies  Example in biological sciences (e.g., animal kingdom, phylogeny reconstruction, …) 4

Hierarchical Clustering  Two main types of hierarchical clustering  Agglomerative: Start with the points as individual clusters At each step, merge the closest pair of clusters until only one cluster (or k clusters) left  Divisive: Start with one, all-inclusive cluster At each step, split a cluster until each cluster contains a point (or there are k clusters) 5

Agglomerative Clustering Algorithm  More popular hierarchical clustering technique  Basic algorithm is straightforward 1. Compute the proximity matrix 2. Let each data point be a cluster 3. Repeat 4. Merge the two closest clusters 5. Update the proximity matrix 6. Until only a single cluster remains  Key operation is the computation of the proximity of two clusters  Different approaches to defining the distance between clusters distinguish the different algorithms 6

Starting Situation  Start with clusters of individual points and a proximity matrix 7 p1 p3 p5 p4 p2 p1p2p3p4p Proximity Matrix

Intermediate Situation  After some merging steps, we have some clusters. C1 C4 C2 C5 C3 8 C2C1 C3 C5 C4 C2 C3C4C5 Proximity Matrix

Intermediate Situation  We want to merge the two closest clusters (C2 and C5) and update the proximity matrix. C1 C4 C2 C5 C3 9 C2C1 C3 C5 C4 C2 C3C4C5 Proximity Matrix

After Merging  The question is: “How do we update the proximity matrix?” i.e. “How do we measure proximity (distance, similarity) between two clusters?” C1 C4 C2 U C5 C3 10 ? ? ? ? ? C2 U C5 C1 C3 C4 C2 U C5 C3C4

How to Define Inter-Cluster Similarity Similarity? l MIN (Single Linkage) l MAX (Complete Linkage) l Group Average l Distance Between Centroids l Other methods driven by an objective function –Ward’s Method uses squared error 11

How to Define Inter-Cluster Similarity l MIN (Single Linkage) l MAX (Complete Linkage) l Group Average l Distance Between Centroids 12

How to Define Inter-Cluster Similarity l MIN (Single Linkage) l MAX (Complete Linkage) l Group Average l Distance Between Centroids 13

How to Define Inter-Cluster Similarity l MIN (Single Linkage) l MAX (Complete Linkage) l Group Average l Distance Between Centroids 14

How to Define Inter-Cluster Similarity l MIN (Single Linkage) l MAX (Complete Linkage) l Group Average l Distance Between Centroids  15

Cluster Similarity: MIN or Single Link  Similarity of two clusters is based on the two most similar (closest) points in the different clusters  Determined by one pair of points, i.e., by one link in the proximity graph

Hierarchical Clustering: MIN Nested ClustersDendrogram

Similarity vs. Distance Similarity Matrix Distance Matrix

Strength of MIN Original Points Two Clusters Can handle non-elliptical shapes 19

Limitations of MIN Original Points Two Clusters Sensitive to noise and outliers

Cluster Similarity: MAX or Complete Linkage  Similarity of two clusters is based on the two least similar (most distant) points in the different clusters  Determined by all pairs of points in the two clusters

Hierarchical Clustering: MAX Nested ClustersDendrogram

Strength of MAX Original Points Two Clusters Less susceptible to noise and outliers 23

Limitations of MAX Original Points Two Clusters Tends to break large clusters Biased towards globular clusters 24

Cluster Similarity: Group Average  Proximity of two clusters is the average of pairwise proximity between points in the two clusters.  Need to use average connectivity for scalability since total proximity favors large clusters

Hierarchical Clustering: Group Average Nested ClustersDendrogram

Hierarchical Clustering: Group Average  Compromise between Single and Complete Link  Strengths  Less susceptible to noise and outliers  Limitations  Biased towards globular clusters 27

Hierarchical Clustering: Comparison Group Average MINMAX

Hierarchical Clustering: Time and Space requirements 29  O(N 2 ) space since it uses the proximity matrix.  N is the number of points.  O(N 3 ) time in many cases  There are N steps and at each step the size, N 2, proximity matrix must be updated and searched  Complexity can be reduced to O(N 2 log(N) ) time for some approaches

Hierarchical Clustering: Problems and Limitations  Once a decision is made to combine two clusters, it cannot be undone  No objective function is directly minimized  Different schemes have problems with one or more of the following:  Sensitivity to noise and outliers  Difficulty handling different sized clusters and convex shapes  Breaking large clusters 30