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

Function LGBM_BoosterLoadModelFromString_R

src/lightgbm_R.cpp:329–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329LGBM_SE LGBM_BoosterLoadModelFromString_R(LGBM_SE model_str,
330 LGBM_SE out,
331 LGBM_SE call_state) {
332 R_API_BEGIN();
333 int out_num_iterations = 0;
334 BoosterHandle handle = nullptr;
335 CHECK_CALL(LGBM_BoosterLoadModelFromString(R_CHAR_PTR(model_str), &out_num_iterations, &handle));
336 R_SET_PTR(out, handle);
337 R_API_END();
338}
339
340LGBM_SE LGBM_BoosterMerge_R(LGBM_SE handle,
341 LGBM_SE other_handle,

Callers

nothing calls this directly

Calls 2

R_SET_PTRFunction · 0.50

Tested by

no test coverage detected