mlpack
|
This dimension selection policy allows the selection from a few random dimensions. More...
#include <multiple_random_dimension_select.hpp>
Public Member Functions | |
MultipleRandomDimensionSelect (const size_t numDimensions=0) | |
Instantiate the MultipleRandomDimensionSelect object. More... | |
size_t | Begin () |
Get the first random value. | |
size_t | End () const |
Get the last random value. | |
size_t | Next () |
Get the next index. | |
size_t | Dimensions () const |
Get the number of dimensions. | |
size_t & | Dimensions () |
Set the number of dimensions. | |
This dimension selection policy allows the selection from a few random dimensions.
The number of random dimensions to use is specified in the constructor.
|
inline |
Instantiate the MultipleRandomDimensionSelect object.
numDimensions | Number of random dimensions to try for each split. |