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

Function LGBM_BoosterCreateFromModelfile_R

src/lightgbm_R.cpp:318–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318LGBM_SE LGBM_BoosterCreateFromModelfile_R(LGBM_SE filename,
319 LGBM_SE out,
320 LGBM_SE call_state) {
321 R_API_BEGIN();
322 int out_num_iterations = 0;
323 BoosterHandle handle = nullptr;
324 CHECK_CALL(LGBM_BoosterCreateFromModelfile(R_CHAR_PTR(filename), &out_num_iterations, &handle));
325 R_SET_PTR(out, handle);
326 R_API_END();
327}
328
329LGBM_SE LGBM_BoosterLoadModelFromString_R(LGBM_SE model_str,
330 LGBM_SE out,

Callers

nothing calls this directly

Calls 2

R_SET_PTRFunction · 0.50

Tested by

no test coverage detected