17 #ifndef JUBATUS_CORE_CLUSTERING_KMEANS_CLUSTERING_METHOD_HPP_
18 #define JUBATUS_CORE_CLUSTERING_KMEANS_CLUSTERING_METHOD_HPP_
25 namespace clustering {
52 #endif // JUBATUS_CORE_CLUSTERING_KMEANS_CLUSTERING_METHOD_HPP_
std::vector< wplist > get_clusters(const wplist &points) const
void batch_update(wplist points)
std::vector< common::sfv_t > kcenters_
kmeans_clustering_method(size_t k)
void do_batch_update(wplist &points)
common::sfv_t get_nearest_center(const common::sfv_t &point) const
wplist get_cluster(size_t cluster_id, const wplist &points) const
std::vector< common::sfv_t > get_k_center() const
int64_t get_nearest_center_index(const common::sfv_t &point) const
std::vector< std::pair< std::string, float > > sfv_t
void online_update(wplist points)
void initialize_centers(wplist &points)
std::vector< weighted_point > wplist
~kmeans_clustering_method()