asa136_test, an Octave code which calls asa136(), which divides N points in M dimensions into K clusters so that the within-clusters sum of squares is minimized.
The information on this web page is distributed under the MIT license.
asa136, an Octave code which implements a clustering algorithm, by Hartigan and Wong. This is a version of Applied Statistics Algorithm 136.