#include <genesis/utils/math/euclidean_kmeans.hpp>
Inherits Kmeans< std::vector< double > >.
Definition at line 59 of file euclidean_kmeans.hpp.
|
using | Point = std::vector< double > |
|
using | value_type = std::vector< double > |
|
|
std::function< void(void)> | report_initialization |
|
std::function< void(size_t i)> | report_iteration |
|
virtual bool | assign_to_centroids (std::vector< std::vector< double > > const &data, std::vector< std::vector< double > > const ¢roids, std::vector< size_t > &assignments) |
|
virtual KmeansClusteringInfo | cluster_info (std::vector< std::vector< double > > const &data, std::vector< size_t > const &assignments, std::vector< std::vector< double > > const ¢roids) const |
|
virtual std::pair< size_t, double > | find_nearest_cluster (std::vector< std::vector< double > > const ¢roids, std::vector< double > const &datum) const |
|
virtual void | initialize (std::vector< std::vector< double > > const &data, size_t const k) |
|
virtual bool | lloyd_step (std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > ¢roids) |
|
virtual void | post_loop_hook (std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > ¢roids) |
|
virtual void | pre_loop_hook (std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > ¢roids) |
|
virtual bool | treat_empty_centroids (std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > ¢roids, std::unordered_set< size_t > const &empty_centroids) |
|
◆ EuclideanKmeans() [1/3]
◆ ~EuclideanKmeans()
◆ EuclideanKmeans() [2/3]
◆ EuclideanKmeans() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Point
using Point = std::vector<double> |
The documentation for this class was generated from the following files: