| 358 | } |
| 359 | |
| 360 | inline void SetLeafValue(int tree_idx, int leaf_idx, double val) override { |
| 361 | CHECK(tree_idx >= 0 && static_cast<size_t>(tree_idx) < models_.size()); |
| 362 | CHECK(leaf_idx >= 0 && leaf_idx < models_[tree_idx]->num_leaves()); |
| 363 | models_[tree_idx]->SetLeafOutput(leaf_idx, val); |
| 364 | } |
| 365 | |
| 366 | /*! |
| 367 | * \brief Get Type name of this boosting object |
nothing calls this directly
no test coverage detected