This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

FindClusters

FindClusters[{e1, e2, ...}]
partitions the e_i into clusters of similar elements.
FindClusters[{e1->v1, e2->v2, ...}]
returns the v_i corresponding to the e_i in each cluster.
FindClusters[{e1, e2, ...}->{v1, v2, ...}]
gives the same result.
FindClusters[{e1, e2, ...}, n]
partitions the e_i into exactly n clusters.
  • If the e_i are lists of True and False, FindClusters by default uses a distance function based on the normalized fraction of elements that disagree.
  • If the e_i are strings, FindClusters by default uses a distance function based on the number of point changes needed to get from one string to another.
  • A Method option can be used to specify different methods of clustering. Possible settings include:
"Agglomerate"find clustering hierarchically
"Optimize"find clustering by local optimization
New in 6