This dimension selection policy allows the selection from a few random dimensions. More...
Public Member Functions | |
MultipleRandomDimensionSelect (const size_t numDimensions=0) | |
Instantiate the MultipleRandomDimensionSelect object. More... | |
size_t | Begin () |
Get the first random value. More... | |
size_t | Dimensions () const |
Get the number of dimensions. More... | |
size_t & | Dimensions () |
Set the number of dimensions. 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 in the constructor.
Definition at line 23 of file multiple_random_dimension_select.hpp.
|
inline |
Instantiate the MultipleRandomDimensionSelect object.
numDimensions | Number of random dimensions to try for each split. |
Definition at line 31 of file multiple_random_dimension_select.hpp.
|
inline |
Get the first random value.
Definition at line 40 of file multiple_random_dimension_select.hpp.
References mlpack::math::RandInt().
|
inline |
Get the number of dimensions.
Definition at line 93 of file multiple_random_dimension_select.hpp.
|
inline |
Set the number of dimensions.
Definition at line 95 of file multiple_random_dimension_select.hpp.
|
inline |
Get the last random value.
Definition at line 82 of file multiple_random_dimension_select.hpp.
|
inline |
Get the next index.
Definition at line 87 of file multiple_random_dimension_select.hpp.