Mlpack::kernel::kmeansselection clusteringtype -
static const arma::mat * Select (const arma::mat &data, const size_t m, const size_t maxIterations=5)
Use the K-Means clustering method to select the specified number of points in the dataset.
Definition at line 33 of file kmeans_selection.hpp.
Use the K-Means clustering method to select the specified number of points in the dataset. You are responsible for deleting the returned matrix!
Parameters:
data Dataset to sample from.
m Number of points to select.
Returns:
Matrix pointer in which centroids are stored.
Definition at line 44 of file kmeans_selection.hpp.
Generated automatically by Doxygen for MLPACK from the source code.