mlpack
|
Implementation of the kmeans sampling scheme. More...
#include <kmeans_selection.hpp>
Static Public Member Functions | |
static const arma::mat * | Select (const arma::mat &data, const size_t m) |
Use the K-Means clustering method to select the specified number of points in the dataset. More... | |
Implementation of the kmeans sampling scheme.
ClusteringType | Type of clustering. |
maxIterations | Maximum number of iterations allowed before giving up. |
|
inlinestatic |
Use the K-Means clustering method to select the specified number of points in the dataset.
You are responsible for deleting the returned matrix!
data | Dataset to sample from. |
m | Number of points to select. |