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

Function LGBM_BoosterCreate_R

src/lightgbm_R.cpp:307–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307LGBM_SE LGBM_BoosterCreate_R(LGBM_SE train_data,
308 LGBM_SE parameters,
309 LGBM_SE out,
310 LGBM_SE call_state) {
311 R_API_BEGIN();
312 BoosterHandle handle = nullptr;
313 CHECK_CALL(LGBM_BoosterCreate(R_GET_PTR(train_data), R_CHAR_PTR(parameters), &handle));
314 R_SET_PTR(out, handle);
315 R_API_END();
316}
317
318LGBM_SE LGBM_BoosterCreateFromModelfile_R(LGBM_SE filename,
319 LGBM_SE out,

Callers

nothing calls this directly

Calls 3

LGBM_BoosterCreateFunction · 0.70
R_GET_PTRFunction · 0.50
R_SET_PTRFunction · 0.50

Tested by

no test coverage detected