Calculate means and cluster assignments for the given data and number of clusters (k).
Returns a tuple containing the means (as a 2D ndarray) and a Vec of indices that
map into the means ndarray and correspond elementwise to each input data point to give
the cluster assignments for each data point.
Calculate means and cluster assignments for the given data and number of clusters (k).
Returns a tuple containing the means (as a 2D ndarray) and a Vec of indices that
map into the means ndarray and correspond elementwise to each input data point to give
the cluster assignments for each data point. Takes a Config object which can be used to
optionally specify: