1#ifndef KMEANS_INITIALIZE_HPP
2#define KMEANS_INITIALIZE_HPP
21template<
class Matrix_ = SimpleMatrix<
double,
int>,
typename Cluster_ =
int,
typename Float_ =
double>
43 virtual Cluster_
run(
const Matrix_& data, Cluster_ num_centers, Float_* centers)
const = 0;
Wrapper for a simple dense matrix.
Base class for initialization algorithms.
Definition Initialize.hpp:22
virtual Cluster_ run(const Matrix_ &data, Cluster_ num_centers, Float_ *centers) const =0
Namespace for k-means clustering.
Definition compute_wcss.hpp:12