max_variance_new_cluster.hpp

Go to the documentation of this file.
00001 
00024 #ifndef __MLPACK_METHODS_KMEANS_MAX_VARIANCE_NEW_CLUSTER_HPP
00025 #define __MLPACK_METHODS_KMEANS_MAX_VARIANCE_NEW_CLUSTER_HPP
00026 
00027 #include <mlpack/core.hpp>
00028 
00029 namespace mlpack {
00030 namespace kmeans {
00031 
00036 class MaxVarianceNewCluster
00037 {
00038  public:
00040   MaxVarianceNewCluster() { }
00041 
00055   template<typename MatType>
00056   static size_t EmptyCluster(const MatType& data,
00057                              const size_t emptyCluster,
00058                              const MatType& centroids,
00059                              arma::Col<size_t>& clusterCounts,
00060                              arma::Col<size_t>& assignments);
00061 };
00062 
00063 }; // namespace kmeans
00064 }; // namespace mlpack
00065 
00066 // Include implementation.
00067 #include "max_variance_new_cluster_impl.hpp"
00068 
00069 #endif

Generated on 29 Sep 2016 for MLPACK by  doxygen 1.6.1