kmeans
k-means clustering in C++
|
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 of the observation indices. This should be the same as the index type of Matrix_ . |
Data_ | Numeric type of the input dataset. This should be the same as the data type of Matrix_ . |
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 satisfying the Matrix interface. |
This class assumes that that cluster centers are already present in the centers
array, and returns them without modification.