# K-Means clustering calculator

Executes the k-means clustering algorithm based on a list of observations. Each row of the M matrix represents an observation. Each column represents a

**feature**. The k number specifies the number of centroids to generate.The calculated array has k rows, one for each computed centroid.

number k:

Upload Excel or CSV file for batch operation: (read about supported files and formats)

API URL: http://calculator.vhex.net/c/k-means-clustering (see documentation. JSONP is now available)