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

Function LGBM_BoosterRefit

src/c_api.cpp:1167–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167int LGBM_BoosterRefit(BoosterHandle handle, const int32_t* leaf_preds, int32_t nrow, int32_t ncol) {
1168 API_BEGIN();
1169 Booster* ref_booster = reinterpret_cast<Booster*>(handle);
1170 ref_booster->Refit(leaf_preds, nrow, ncol);
1171 API_END();
1172}
1173
1174int LGBM_BoosterUpdateOneIter(BoosterHandle handle, int* is_finished) {
1175 API_BEGIN();

Callers

nothing calls this directly

Calls 1

RefitMethod · 0.45

Tested by

no test coverage detected