
















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!

















Example: Clustering geneexpression data
Dendrogram
-^ Typically assume the number of desired clusters,
-^ Form initial clusters based on these seeds.â˘^ Iterate, repeatedly reallocating instances to differentclusters to improve the overall clustering.â˘^ Stop when clustering converges or after a fixed numberof iterations.
Mean-Squared Error Objective⢠Assume instances are real-valued vectors⢠Given a clustering of the data into k clusters, we cancompute the centroid of each cluster⢠If we use the mean of each cluster to represent all datapoints in the cluster, our mean squared error (MSE) is:⢠The objective of clustering is to find a clustering thatminimizes this error.
x
x
x
Reasssign clustersx
x
Reasssign clustersxx x^ xx
Compute centroidsReassign clusters
x
Reasssign clustersxx x^ xx
Compute centroidsReassign clustersConverged!
Îźâ minimizes the distortion of ci
âi
d )
where^ d^ is the dimensionality of the vectors.â Reassigning clusters: O(
kn ) distance computations, or O(
knd ).
nd ).
I^ iterations: O( Iknd ). â Linear in all relevant factors, assuming a fixed number ofiterations, more efficient than O(n
Good news!