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