

















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















































































Topics to be Covered
Clustering for Data Understanding and Applications ļµ (^) Biology: taxonomy of living things: kingdom, phylum, class, order, family, genus and species ļµ (^) Information retrieval: document clustering ļµ (^) Land use: Identification of areas of similar land use in an earth observation database ļµ (^) Marketing: Help marketers discover distinct groups in their customer bases, and then use this knowledge to develop targeted marketing programs ļµ (^) City-planning: Identifying groups of houses according to their house type, value, and geographical location ļµ (^) Earth-quake studies: Observed earth quake epicenters should be clustered along continent faults ļµ (^) Climate: understanding earth climate, find patterns of atmospheric and ocean ļµ (^) Economic Science: market research
Quality: What Is Good Clustering? ļµ A good clustering method will produce high quality clusters ļµ (^) high intra-class similarity: cohesive within clusters ļµ (^) low inter-class similarity: distinctive between clusters ļµ (^) The quality of a clustering method depends on ļµ (^) the similarity measure used by the method ļµ (^) its implementation, and ļµ (^) Its ability to discover some or all of the hidden patterns
Considerations for Cluster Analysis ļµ (^) Partitioning criteria ļµ (^) Single level vs. hierarchical partitioning (often, multi-level hierarchical partitioning is desirable) ļµ (^) Separation of clusters ļµ (^) Exclusive (e.g., one customer belongs to only one region) vs. non-exclusive (e.g., one document may belong to more than one class) ļµ (^) Similarity measure ļµ (^) Distance-based (e.g., Euclidian, road network, vector) vs. connectivity-based (e.g., density or contiguity) ļµ (^) Clustering space ļµ (^) Full space (often when low dimensional) vs.
Requirements and Challenges ļµ (^) Scalability ļµ (^) Clustering all the data instead of only on samples ļµ (^) Ability to deal with different types of attributes ļµ (^) Numerical, binary, categorical, ordinal, linked, and mixture of these ļµ (^) Constraint-based clustering ļµ User may give inputs on constraints ļµ Use domain knowledge to determine input parameters ļµ (^) Interpretability and usability ļµ (^) Others ļµ (^) Discovery of clusters with arbitrary shape ļµ (^) Ability to deal with noisy data
Major Clustering Approaches (II) ļµ (^) Model-based: ļµ (^) A model is hypothesized for each of the clusters and tries to find the best fit of that model to each other ļµ (^) Typical methods: EM, SOM, COBWEB ļµ (^) Frequent pattern-based: ļµ (^) Based on the analysis of frequent patterns ļµ (^) Typical methods: p-Cluster ļµ (^) User-guided or constraint-based: ļµ (^) Clustering by considering user-specified or application- specific constraints ļµ (^) Typical methods: COD (obstacles), constrained clustering ļµ (^) Link-based clustering: ļµ (^) Objects are often linked together in various ways ļµ (^) Massive links can be used to cluster objects: SimRank,
Partitioning Algorithms: Basic Concept ļµ (^) Partitioning method: Partitioning a database D of n objects into a set of k clusters, such that the sum of squared distances is minimized (where ci is the centroid or medoid of cluster Ci) ļµ (^) Given k , find a partition of k clusters that optimizes the chosen partitioning criterion ļµ (^) Global optimal: exhaustively enumerate all partitions ļµ (^) Heuristic methods: k-means and k-medoids algorithms ļµ (^) k-means : Each cluster is represented by the center of the cluster ļµ (^) k-medoids or PAM (Partition around medoids): Each 2 1 ( ) p C i k i E p c i ļ½ļ ļ ļ ļ½ ļ
An Example of K-Means Clustering K= Arbitrarily partition objects into k groups Update the cluster centroids Update the cluster centroids Reassign objects Loop if needed The initial data set ļ® (^) Partition objects into k nonempty subsets ļ® (^) Repeat ļ® (^) Compute centroid (i.e., mean point) for each partition ļ® (^) Assign each object to the cluster of its nearest centroid ļ® (^) Until no change
ELBOW METHOD-TO FIND BEST K (SUM OF SQUARED ERROR)