kmeans
A C++ library for k-means
|
Full statistics from k-means clustering. More...
#include <kmeans.hpp>
Public Attributes | |
std::vector< Cluster_ > | clusters |
std::vector< Float_ > | centers |
Details< Index_ > | details |
Full statistics from k-means clustering.
std::vector<Float_> kmeans::Results< Cluster_, Float_, Index_ >::centers |
An array containing a column-major matrix where each row corresponds to a dimension and each column corresponds to a cluster. Each column contains the centroid coordinates for its cluster.
std::vector<Cluster_> kmeans::Results< Cluster_, Float_, Index_ >::clusters |
An array of length equal to the number of observations, containing 0-indexed cluster assignments for each observation.
Details<Index_> kmeans::Results< Cluster_, Float_, Index_ >::details |
Further details from the chosen k-means algorithm.