K-means clustering tool
mpi_kmeans [options]
mpi_kmeans is a program that uses k-means clustering to produce a list of cluster centers. The resulting data can be used by mpi_assign(1) to assign points to those cluster centers.
A summary of options is included below.
--help
Produce help message
--data file
Training file, one datum per line (default: "data.txt")
--output file
Output file, one cluster center per line (default: "output.txt")
--k num
Number of clusters to generate (default: 100)
--restarts num
Number of k-means restarts (default: 0 = single run)
--maxiter num
Maximum number of k-means iterations (default: 0 = infinity)
mpi_kmeans --k 2 --data example.txt --output clusters.txt
mpi_kmeans was written by Peter Gehler <[email protected]>.
This manual page was written by Christian Kastner <[email protected]>, for the Debian project (and may be used by others).