mlpack 3.4.2
Static Public Member Functions | List of all members
OrderedSelection Class Reference

#include <ordered_selection.hpp>

Static Public Member Functions

static const arma::Col< size_t > Select (const arma::mat &, const size_t m)
 Select the specified number of points in the dataset. More...
 

Detailed Description

Definition at line 22 of file ordered_selection.hpp.

Member Function Documentation

◆ Select()

static const arma::Col< size_t > Select ( const arma::mat &  ,
const size_t  m 
)
inlinestatic

Select the specified number of points in the dataset.

Parameters
*(data) Dataset to sample from.
mNumber of points to select.
Returns
Indices of selected points from the dataset.

Definition at line 32 of file ordered_selection.hpp.


The documentation for this class was generated from the following file: