1#ifndef KMEANS_REFINE_HPP
2#define KMEANS_REFINE_HPP
22template<
typename Matrix_ = SimpleMatrix<
double,
int>,
typename Cluster_ =
int,
typename Float_ =
double>
Report detailed clustering statistics.
Wrapper for a simple dense matrix.
Implements the variance partitioning method of Su and Dy (2007).
Definition InitializeVariancePartition.hpp:164
Interface for all k-means refinement algorithms.
Definition Refine.hpp:23
virtual Details< typename Matrix_::index_type > run(const Matrix_ &data, Cluster_ num_centers, Float_ *centers, Cluster_ *clusters) const =0
Namespace for k-means clustering.
Definition compute_wcss.hpp:12