RPTreeMeanSplit< BoundType, MatType >::SplitInfo Struct Reference

An information about the partition. More...

Public Attributes

arma::Col< ElemTypedirection
 The normal to the hyperplane that will split the node. More...

 
arma::Col< ElemTypemean
 The mean of some sampled points. More...

 
bool meanSplit
 Indicates that we should use the mean split algorithm instead of the median split. More...

 
ElemType splitVal
 The value according to which the split will be performed. More...

 

Detailed Description


template
<
typename
BoundType
,
typename
MatType
=
arma::mat
>

struct mlpack::tree::RPTreeMeanSplit< BoundType, MatType >::SplitInfo

An information about the partition.

Definition at line 39 of file rp_tree_mean_split.hpp.

Member Data Documentation

◆ direction

arma::Col<ElemType> direction

The normal to the hyperplane that will split the node.

Definition at line 42 of file rp_tree_mean_split.hpp.

Referenced by RPTreeMeanSplit< BoundType, MatType >::AssignToLeftNode().

◆ mean

arma::Col<ElemType> mean

The mean of some sampled points.

Definition at line 44 of file rp_tree_mean_split.hpp.

Referenced by RPTreeMeanSplit< BoundType, MatType >::AssignToLeftNode().

◆ meanSplit

bool meanSplit

Indicates that we should use the mean split algorithm instead of the median split.

Definition at line 49 of file rp_tree_mean_split.hpp.

Referenced by RPTreeMeanSplit< BoundType, MatType >::AssignToLeftNode().

◆ splitVal

ElemType splitVal

The value according to which the split will be performed.

Definition at line 46 of file rp_tree_mean_split.hpp.

Referenced by RPTreeMeanSplit< BoundType, MatType >::AssignToLeftNode().


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