|
mlpack
|
A statistic for trees which holds the blacklist for Pelleg-Moore k-means clustering (which represents the clusters that cannot possibly own any points in a node). More...
#include <pelleg_moore_kmeans_statistic.hpp>
Public Member Functions | |
| PellegMooreKMeansStatistic () | |
| Initialize the statistic without a node (this does nothing). | |
| template<typename TreeType > | |
| PellegMooreKMeansStatistic (TreeType &node) | |
| Initialize the statistic for a node; this calculates the centroid and caches it. More... | |
| const arma::uvec & | Blacklist () const |
| Get the cluster blacklist. | |
| arma::uvec & | Blacklist () |
| Modify the cluster blacklist. | |
| const arma::vec & | Centroid () const |
| Get the node's centroid. | |
| arma::vec & | Centroid () |
| Modify the node's centroid (be careful!). | |
A statistic for trees which holds the blacklist for Pelleg-Moore k-means clustering (which represents the clusters that cannot possibly own any points in a node).
|
inline |
Initialize the statistic for a node; this calculates the centroid and caches it.
1.8.13