This dimension selection policy allows the selection from a few random dimensions. More...
Public Member Functions | |
| MultipleRandomDimensionSelect (const size_t dimensions) | |
| Instantiate the MultipleRandomDimensionSelect object. More... | |
| size_t | Begin () |
| Get the first random value. More... | |
| size_t | End () const |
| Get the last random value. More... | |
| size_t | Next () |
| Get the next index. More... | |
This dimension selection policy allows the selection from a few random dimensions.
The number of random dimensions to use is specified by the NumDimensions template parameter.
| NumDimensions | Number of random dimensions to select. |
Definition at line 26 of file multiple_random_dimension_select.hpp.
|
inline |
Instantiate the MultipleRandomDimensionSelect object.
Definition at line 32 of file multiple_random_dimension_select.hpp.
References mlpack::math::RandInt().
|
inline |
Get the first random value.
Definition at line 64 of file multiple_random_dimension_select.hpp.
|
inline |
Get the last random value.
Definition at line 73 of file multiple_random_dimension_select.hpp.
|
inline |
Get the next index.
Definition at line 78 of file multiple_random_dimension_select.hpp.