PointSampler library (C++)
Loading...
Searching...
No Matches
kmeans_clustering.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  ps
 

Functions

template<typename T , size_t N>
std::pair< std::vector< Point< T, N > >, std::vector< size_t > > ps::kmeans_clustering (const std::vector< Point< T, N > > &points, size_t k_clusters, bool normalize_data=true, size_t max_iterations=100)
 Perform k-means clustering on a set of points.