mlpack
Static Public Member Functions | List of all members
mlpack::tree::MeanSpaceSplit< MetricType, MatType > Class Template Reference

Static Public Member Functions

template<typename HyperplaneType >
static bool SplitSpace (const typename HyperplaneType::BoundType &bound, const MatType &data, const arma::Col< size_t > &points, HyperplaneType &hyp)
 Create a splitting hyperplane considering the mean of the values in a certain projection. More...
 

Member Function Documentation

◆ SplitSpace()

template<typename MetricType , typename MatType >
template<typename HyperplaneType >
bool mlpack::tree::MeanSpaceSplit< MetricType, MatType >::SplitSpace ( const typename HyperplaneType::BoundType &  bound,
const MatType &  data,
const arma::Col< size_t > &  points,
HyperplaneType &  hyp 
)
static

Create a splitting hyperplane considering the mean of the values in a certain projection.

Parameters
boundThe bound used for this node.
dataThe dataset used by the tree.
pointsVector of indexes of points to be considered.
hypResulting splitting hyperplane.
Returns
Flag to determine if split is possible.

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