| 20 | namespace LightGBM { |
| 21 | |
| 22 | BinMapper::BinMapper(): num_bin_(1), is_trivial_(true), bin_type_(BinType::NumericalBin) { |
| 23 | bin_upper_bound_.clear(); |
| 24 | bin_upper_bound_.push_back(std::numeric_limits<double>::infinity()); |
| 25 | } |
| 26 | |
| 27 | // deep copy function for BinMapper |
| 28 | BinMapper::BinMapper(const BinMapper& other) { |