12 #ifndef MLPACK_METHODS_DECISION_TREE_RANDOM_DIMENSION_SELECT_HPP 13 #define MLPACK_METHODS_DECISION_TREE_RANDOM_DIMENSION_SELECT_HPP 38 size_t End()
const {
return dimensions; }
44 size_t Next()
const {
return dimensions; }
size_t Dimensions() const
Get the number of dimensions.
Definition: random_dimension_select.hpp:47
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
This dimension selection policy only selects one single random dimension.
Definition: random_dimension_select.hpp:21
size_t End() const
Get the last dimension to select from.
Definition: random_dimension_select.hpp:38
size_t & Dimensions()
Set the number of dimensions.
Definition: random_dimension_select.hpp:49
size_t Begin() const
Get the first dimension to select from.
Definition: random_dimension_select.hpp:33
int RandInt(const int hiExclusive)
Generates a uniform random integer.
Definition: random.hpp:110
size_t Next() const
Get the next (last) dimensions.
Definition: random_dimension_select.hpp:44
RandomDimensionSelect()
Construct the RandomDimensionSelect object with the given number of dimensions.
Definition: random_dimension_select.hpp:28