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

Function LGBM_BoosterSaveModel2

src/c_api.cpp:1553–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1551}
1552
1553int LGBM_BoosterSaveModel2(BoosterHandle handle,
1554 int start_iteration,
1555 int num_iteration,
1556 int num_labels,
1557 int num_label,
1558 const char* filename) {
1559 API_BEGIN();
1560 Booster* ref_booster = reinterpret_cast<Booster*>(handle);
1561 ref_booster->SaveModelToFile(start_iteration, num_iteration, num_labels, num_label, filename);
1562 API_END();
1563}
1564
1565int LGBM_BoosterSaveModelToString(BoosterHandle handle,
1566 int start_iteration,

Callers

nothing calls this directly

Calls 1

SaveModelToFileMethod · 0.45

Tested by

no test coverage detected