| 1242 | } |
| 1243 | |
| 1244 | int LGBM_BoosterNumberOfTotalModel(BoosterHandle handle, int* out_models) { |
| 1245 | API_BEGIN(); |
| 1246 | Booster* ref_booster = reinterpret_cast<Booster*>(handle); |
| 1247 | *out_models = ref_booster->GetBoosting()->NumberOfTotalModel(); |
| 1248 | API_END(); |
| 1249 | } |
| 1250 | |
| 1251 | int LGBM_BoosterGetEvalCounts(BoosterHandle handle, int* out_len) { |
| 1252 | API_BEGIN(); |
nothing calls this directly
no test coverage detected