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

Function LGBM_BoosterFree_R

src/lightgbm_R.cpp:297–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295// --- start Booster interfaces
296
297LGBM_SE LGBM_BoosterFree_R(LGBM_SE handle,
298 LGBM_SE call_state) {
299 R_API_BEGIN();
300 if (R_GET_PTR(handle) != nullptr) {
301 CHECK_CALL(LGBM_BoosterFree(R_GET_PTR(handle)));
302 R_SET_PTR(handle, nullptr);
303 }
304 R_API_END();
305}
306
307LGBM_SE LGBM_BoosterCreate_R(LGBM_SE train_data,
308 LGBM_SE parameters,

Callers

nothing calls this directly

Calls 3

LGBM_BoosterFreeFunction · 0.70
R_GET_PTRFunction · 0.50
R_SET_PTRFunction · 0.50

Tested by

no test coverage detected