Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
courses:cs211:winter2011:journals:wendy:chapter4 [2011/03/01 00:45] shangwcourses:cs211:winter2011:journals:wendy:chapter4 [2011/03/01 00:51] – [Section 7: Clustering] shangw
Line 77: Line 77:
  
 ===== Section 7: Clustering ===== ===== Section 7: Clustering =====
-This section talks about another problem-Clustering-and how to solve it with greedy algorithm. Clustering (of maximum spacing) can be precisely described as +This section talks about another problem-Clustering-and how to solve it with greedy algorithm. Clustering (of maximum spacing) can be precisely described as partitioning a collection of objects U such that the maximum possible spacing s achieved (That is, the minimum distance between any pair of points lying in different clusters is minimized).  
 + 
 +The algorithm is exactly the Kruskal's algorithm except that we stop it just before adding the last k-1th edge. Basically, it is constructing the minimum spanning tree without the k-1 most weighted edges. 
courses/cs211/winter2011/journals/wendy/chapter4.txt · Last modified: 2011/03/02 04:59 by shangw
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0