kmeans
A C++ library for k-means
|
Compute within-cluster sum of squares. More...
Go to the source code of this file.
Namespaces | |
namespace | kmeans |
Namespace for k-means clustering. | |
Functions | |
template<class Matrix_ , typename Cluster_ , typename Float_ > | |
void | kmeans::compute_wcss (const Matrix_ &data, Cluster_ ncenters, const Float_ *centers, const Cluster_ *clusters, Float_ *wcss) |
Compute within-cluster sum of squares.