mlpack
|
This dimension selection policy only selects one single random dimension. More...
#include <random_dimension_select.hpp>
Public Member Functions | |
RandomDimensionSelect () | |
Construct the RandomDimensionSelect object with the given number of dimensions. | |
size_t | Begin () const |
Get the first dimension to select from. | |
size_t | End () const |
Get the last dimension to select from. | |
size_t | Next () const |
Get the next (last) dimensions. More... | |
size_t | Dimensions () const |
Get the number of dimensions. | |
size_t & | Dimensions () |
Set the number of dimensions. | |
This dimension selection policy only selects one single random dimension.
|
inline |
Get the next (last) dimensions.
We only allow one dimension, so any 'next' dimension is past our bounds.