13#ifndef MLPACK_METHODS_HOEFFDING_TREES_BINARY_NUMERIC_SPLIT_INFO_HPP
14#define MLPACK_METHODS_HOEFFDING_TREES_BINARY_NUMERIC_SPLIT_INFO_HPP
21template<
typename ObservationType =
double>
27 splitPoint(splitPoint) { }
32 return (value < splitPoint) ? 0 : 1;
36 template<
typename Archive>
39 ar & BOOST_SERIALIZATION_NVP(splitPoint);
43 ObservationType splitPoint;
BinaryNumericSplitInfo(const ObservationType &splitPoint)
size_t CalculateDirection(const eT &value) const
void serialize(Archive &ar, const unsigned int)
Serialize the split (save/load the split points).
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.