Module Owl_clusterSource

Sourcemodule UT = Owl_utils

K-means clustering algorithm x is the row-based data points and c is the number of clusters.

Sourceval kmeans : MX.mat -> int -> MX.mat * int array