kmeans
A C++ library for k-means
Loading...
Searching...
No Matches
Refine.hpp
Go to the documentation of this file.
1#ifndef KMEANS_REFINE_HPP
2#define KMEANS_REFINE_HPP
3
4#include "Details.hpp"
5#include "SimpleMatrix.hpp"
6
12namespace kmeans {
13
22template<typename Matrix_ = SimpleMatrix<double, int>, typename Cluster_ = int, typename Float_ = double>
23class Refine {
24public:
25 virtual ~Refine() = default;
26
41};
42
43}
44
45#endif
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