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...

 

Detailed Description


template
<
typename
MetricType
,
typename
MatType
>

class mlpack::tree::MeanSpaceSplit< MetricType, MatType >

Definition at line 23 of file mean_space_split.hpp.

Member Function Documentation

◆ SplitSpace()

static bool 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 file: