15 #ifndef __MLPACK_METHODS_KMEANS_ALLOW_EMPTY_CLUSTERS_HPP
16 #define __MLPACK_METHODS_KMEANS_ALLOW_EMPTY_CLUSTERS_HPP
50 template<
typename MetricType,
typename MatType>
65 template<
typename Archive>
Linear algebra utility functions, generally performed on matrices or vectors.
void Serialize(Archive &, const unsigned int)
Serialize the empty cluster policy (nothing to do).
AllowEmptyClusters()
Default constructor required by EmptyClusterPolicy policy.
Policy which allows K-Means to create empty clusters without any error being reported.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
static force_inline size_t EmptyCluster(const MatType &, const size_t, const arma::mat &, arma::mat &, arma::Col< size_t > &, MetricType &, const size_t)
This function does nothing.