| 168 | } |
| 169 | |
| 170 | inline void AsConstantTree(double val) { |
| 171 | num_leaves_ = 1; |
| 172 | shrinkage_ = 1.0f; |
| 173 | leaf_value_[0] = val; |
| 174 | } |
| 175 | |
| 176 | /*! \brief Serialize this object to string*/ |
| 177 | std::string ToString() const; |
no outgoing calls
no test coverage detected