13 #ifndef MLPACK_CORE_TREE_SPILL_TREE_MIDPOINT_SPACE_SPLIT_IMPL_HPP 14 #define MLPACK_CORE_TREE_SPILL_TREE_MIDPOINT_SPACE_SPLIT_IMPL_HPP 22 template<
typename MetricType,
typename MatType>
23 template<
typename HyperplaneType>
25 const typename HyperplaneType::BoundType& bound,
27 const arma::Col<size_t>& points,
30 typename HyperplaneType::ProjVectorType projVector;
34 projVector, midValue))
37 hyp = HyperplaneType(projVector, midValue);
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
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 midpoint of the values in a certain projection...
Definition: midpoint_space_split_impl.hpp:24
Definition: space_split.hpp:23