| 1301 | } |
| 1302 | |
| 1303 | int LGBM_BoosterGetPredict(BoosterHandle handle, |
| 1304 | int data_idx, |
| 1305 | int64_t* out_len, |
| 1306 | double* out_result) { |
| 1307 | API_BEGIN(); |
| 1308 | Booster* ref_booster = reinterpret_cast<Booster*>(handle); |
| 1309 | ref_booster->GetPredictAt(data_idx, out_result, out_len); |
| 1310 | API_END(); |
| 1311 | } |
| 1312 | |
| 1313 | int LGBM_BoosterPredictForFile(BoosterHandle handle, |
| 1314 | const char* data_filename, |
no test coverage detected