kmeans
k-means clustering in C++
|
Perform k-means clustering. More...
#include <vector>
#include "sanisizer/sanisizer.hpp"
#include "Details.hpp"
#include "Refine.hpp"
#include "Initialize.hpp"
#include "Matrix.hpp"
#include "SimpleMatrix.hpp"
#include "InitializeKmeanspp.hpp"
#include "InitializeRandom.hpp"
#include "InitializeVariancePartition.hpp"
#include "InitializeNone.hpp"
#include "RefineHartiganWong.hpp"
#include "RefineLloyd.hpp"
#include "RefineMiniBatch.hpp"
#include "compute_wcss.hpp"
Go to the source code of this file.
Classes | |
struct | kmeans::Results< Index_, Cluster_, Float_ > |
Results of the k-means clustering. More... | |
Namespaces | |
namespace | kmeans |
Perform k-means clustering. | |
Functions | |
template<typename Index_ , typename Data_ , typename Cluster_ , typename Float_ , class Matrix_ = Matrix<Index_, Data_>> | |
Details< Index_ > | kmeans::compute (const Matrix_ &data, const Initialize< Index_, Data_, Cluster_, Float_, Matrix_ > &initialize, const Refine< Index_, Data_, Cluster_, Float_, Matrix_ > &refine, Cluster_ num_centers, Float_ *centers, Cluster_ *clusters) |
template<typename Index_ , typename Data_ , typename Cluster_ , typename Float_ > | |
Details< Index_ > | kmeans::compute (const Matrix< Index_, Data_ > &data, const Initialize< Index_, Data_, Cluster_, Float_, Matrix< Index_, Data_ > > &initialize, const Refine< Index_, Data_, Cluster_, Float_, Matrix< Index_, Data_ > > &refine, const Cluster_ num_centers, Float_ *const centers, Cluster_ *const clusters) |
template<typename Index_ , typename Data_ , typename Cluster_ , typename Float_ , class Matrix_ = Matrix<Index_, Data_>> | |
Results< Index_, Cluster_, Float_ > | kmeans::compute (const Matrix_ &data, const Initialize< Index_, Data_, Cluster_, Float_, Matrix_ > &initialize, const Refine< Index_, Data_, Cluster_, Float_, Matrix_ > &refine, const Cluster_ num_centers) |
template<typename Index_ , typename Data_ , typename Cluster_ , typename Float_ > | |
Results< Index_, Cluster_, Float_ > | kmeans::compute (const Matrix< Index_, Data_ > &data, const Initialize< Index_, Data_, Cluster_, Float_, Matrix< Index_, Data_ > > &initialize, const Refine< Index_, Data_, Cluster_, Float_, Matrix< Index_, Data_ > > &refine, const Cluster_ num_centers) |
Perform k-means clustering.