mlpack
Public Member Functions | List of all members
mlpack::tree::MultipleRandomDimensionSelect Class Reference

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.
 

Detailed Description

This dimension selection policy allows the selection from a few random dimensions.

The number of random dimensions to use is specified in the constructor.

Constructor & Destructor Documentation

◆ MultipleRandomDimensionSelect()

mlpack::tree::MultipleRandomDimensionSelect::MultipleRandomDimensionSelect ( const size_t  numDimensions = 0)
inline

Instantiate the MultipleRandomDimensionSelect object.

Parameters
numDimensionsNumber of random dimensions to try for each split.

The documentation for this class was generated from the following file: