Use MidpointSplit by default.
This commit is contained in:
@@ -11,6 +11,8 @@ set(SOURCES
|
||||
binary_space_tree/dual_tree_traverser_impl.hpp
|
||||
binary_space_tree/mean_split.hpp
|
||||
binary_space_tree/mean_split_impl.hpp
|
||||
binary_space_tree/midpoint_split.hpp
|
||||
binary_space_tree/midpoint_split_impl.hpp
|
||||
binary_space_tree/single_tree_traverser.hpp
|
||||
binary_space_tree/single_tree_traverser_impl.hpp
|
||||
binary_space_tree/traits.hpp
|
||||
|
||||
@@ -16,5 +16,7 @@
|
||||
#include "binary_space_tree/breadth_first_dual_tree_traverser.hpp"
|
||||
#include "binary_space_tree/breadth_first_dual_tree_traverser_impl.hpp"
|
||||
#include "binary_space_tree/traits.hpp"
|
||||
#include "binary_space_tree/midpoint_split.hpp"
|
||||
#include "binary_space_tree/mean_split.hpp"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#define __MLPACK_CORE_TREE_BINARY_SPACE_TREE_BINARY_SPACE_TREE_HPP
|
||||
|
||||
#include <mlpack/core.hpp>
|
||||
#include "mean_split.hpp"
|
||||
#include "midpoint_split.hpp"
|
||||
|
||||
#include "../statistic.hpp"
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace tree /** Trees and tree-building procedures. */ {
|
||||
template<typename BoundType,
|
||||
typename StatisticType = EmptyStatistic,
|
||||
typename MatType = arma::mat,
|
||||
typename SplitType = MeanSplit<BoundType, MatType> >
|
||||
typename SplitType = MidpointSplit<BoundType, MatType>>
|
||||
class BinarySpaceTree
|
||||
{
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user