| 1270 | } |
| 1271 | |
| 1272 | int LGBM_BoosterGetNumFeature(BoosterHandle handle, int* out_len) { |
| 1273 | API_BEGIN(); |
| 1274 | Booster* ref_booster = reinterpret_cast<Booster*>(handle); |
| 1275 | *out_len = ref_booster->GetBoosting()->MaxFeatureIdx() + 1; |
| 1276 | API_END(); |
| 1277 | } |
| 1278 | |
| 1279 | int LGBM_BoosterGetEval(BoosterHandle handle, |
| 1280 | int data_idx, |
nothing calls this directly
no test coverage detected