|
static const arma::Col< size_t > | Select (const arma::mat &data, const size_t m) |
| Randomly select the specified number of points in the dataset. More...
|
|
◆ Select()
static const arma::Col<size_t> mlpack::kernel::RandomSelection::Select |
( |
const arma::mat & |
data, |
|
|
const size_t |
m |
|
) |
| |
|
inlinestatic |
Randomly select the specified number of points in the dataset.
- Parameters
-
data | Dataset to sample from. |
m | Number of points to select. |
- Returns
- Indices of selected points from the dataset.
The documentation for this class was generated from the following file: