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

Function LGBM_BoosterGetCurrentIteration_R

src/lightgbm_R.cpp:415–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415LGBM_SE LGBM_BoosterGetCurrentIteration_R(LGBM_SE handle,
416 LGBM_SE out,
417 LGBM_SE call_state) {
418 int out_iteration;
419 R_API_BEGIN();
420 CHECK_CALL(LGBM_BoosterGetCurrentIteration(R_GET_PTR(handle), &out_iteration));
421 R_INT_PTR(out)[0] = static_cast<int>(out_iteration);
422 R_API_END();
423}
424
425LGBM_SE LGBM_BoosterGetEvalNames_R(LGBM_SE handle,
426 LGBM_SE buf_len,

Callers

nothing calls this directly

Calls 2

R_GET_PTRFunction · 0.50

Tested by

no test coverage detected