| 495 | } |
| 496 | |
| 497 | LGBM_SE LGBM_BoosterPredictForFile_R(LGBM_SE handle, |
| 498 | LGBM_SE data_filename, |
| 499 | LGBM_SE data_has_header, |
| 500 | LGBM_SE is_rawscore, |
| 501 | LGBM_SE is_leafidx, |
| 502 | LGBM_SE is_predcontrib, |
| 503 | LGBM_SE num_iteration, |
| 504 | LGBM_SE parameter, |
| 505 | LGBM_SE result_filename, |
| 506 | LGBM_SE call_state) { |
| 507 | R_API_BEGIN(); |
| 508 | int pred_type = GetPredictType(is_rawscore, is_leafidx, is_predcontrib); |
| 509 | CHECK_CALL(LGBM_BoosterPredictForFile(R_GET_PTR(handle), R_CHAR_PTR(data_filename), |
| 510 | R_AS_INT(data_has_header), pred_type, R_AS_INT(num_iteration), R_CHAR_PTR(parameter), |
| 511 | R_CHAR_PTR(result_filename))); |
| 512 | R_API_END(); |
| 513 | } |
| 514 | |
| 515 | LGBM_SE LGBM_BoosterCalcNumPredict_R(LGBM_SE handle, |
| 516 | LGBM_SE num_row, |
nothing calls this directly
no test coverage detected