|
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...
|
|
template<typename MetricType, typename MatType>
class mlpack::tree::MeanSpaceSplit< MetricType, MatType >
Definition at line 23 of file mean_space_split.hpp.
template<typename MetricType , typename MatType >
template<typename HyperplaneType >
static 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
-
bound | The bound used for this node. |
data | The dataset used by the tree. |
points | Vector of indexes of points to be considered. |
hyp | Resulting splitting hyperplane. |
- Returns
- Flag to determine if split is possible.
The documentation for this class was generated from the following file: