MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / LGBM_BoosterGetNumPredict_R

Function LGBM_BoosterGetNumPredict_R

src/lightgbm_R.cpp:461–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461LGBM_SE LGBM_BoosterGetNumPredict_R(LGBM_SE handle,
462 LGBM_SE data_idx,
463 LGBM_SE out,
464 LGBM_SE call_state) {
465 R_API_BEGIN();
466 int64_t len;
467 CHECK_CALL(LGBM_BoosterGetNumPredict(R_GET_PTR(handle), R_AS_INT(data_idx), &len));
468 R_INT64_PTR(out)[0] = len;
469 R_API_END();
470}
471
472LGBM_SE LGBM_BoosterGetPredict_R(LGBM_SE handle,
473 LGBM_SE data_idx,

Callers

nothing calls this directly

Calls 2

R_GET_PTRFunction · 0.50

Tested by

no test coverage detected