12 #ifndef MLPACK_METHODS_HOEFFDING_TREES_NUMERIC_SPLIT_INFO_HPP 13 #define MLPACK_METHODS_HOEFFDING_TREES_NUMERIC_SPLIT_INFO_HPP 20 template<
typename ObservationType =
double>
26 splitPoints(splitPoints) { }
29 size_t CalculateDirection(
const eT& value)
const 33 while (bin < splitPoints.n_elem && value > splitPoints[bin])
40 template<
typename Archive>
43 ar(CEREAL_NVP(splitPoints));
47 arma::Col<ObservationType> splitPoints;
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.
void serialize(Archive &ar, const uint32_t)
Serialize the split (save/load the split points).
Definition: numeric_split_info.hpp:41
Definition: numeric_split_info.hpp:21