kmeans
A C++ library for k-means
|
No-op "initialization" with existing cluster centers. More...
#include <InitializeNone.hpp>
Additional Inherited Members | |
![]() | |
virtual Cluster_ | run (const Matrix_ &data, Cluster_ num_centers, Float_ *centers) const =0 |
No-op "initialization" with existing cluster centers.
Index_ | Integer type for the observation indices in the input dataset. |
Data_ | Numeric type for the input dataset. |
Cluster_ | Integer type for the cluster assignments. |
Float_ | Floating-point type for the centroids. This will also be used for any internal distance calculations. |
Matrix_ | Class of the input data matrix. This should satisfy the Matrix interface. |
This class assumes that that cluster centers are already present in the centers
array, and returns them without modification.