next up previous
Next: 3.2 Random Up: 3.1 Testing and debugging Previous: 3.1.2 Ascending

3.1.3 Cheat

The generate program outputs the cluster number as the annotation of each point. The cheat algorithm uses this information to simply put the points into their original clusters, as given by the generate program. Thus, it is a ``perfect'' clustering algorithm, because it uses the cluster number used by the generate program when it creates the clusters.

For each of the clusters, the representative is set to the mean of the points in that cluster.

Kevin Pulo