| 1172 | } |
| 1173 | |
| 1174 | int LGBM_BoosterUpdateOneIter(BoosterHandle handle, int* is_finished) { |
| 1175 | API_BEGIN(); |
| 1176 | Booster* ref_booster = reinterpret_cast<Booster*>(handle); |
| 1177 | if (ref_booster->TrainOneIter()) { |
| 1178 | *is_finished = 1; |
| 1179 | } else { |
| 1180 | *is_finished = 0; |
| 1181 | } |
| 1182 | API_END(); |
| 1183 | } |
| 1184 | |
| 1185 | int LGBM_BoosterUpdateOneIterCustom(BoosterHandle handle, |
| 1186 | const float* grad, |
no test coverage detected