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

Function LGBM_BoosterNumberOfTotalModel

src/c_api.cpp:1244–1249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1242}
1243
1244int LGBM_BoosterNumberOfTotalModel(BoosterHandle handle, int* out_models) {
1245 API_BEGIN();
1246 Booster* ref_booster = reinterpret_cast<Booster*>(handle);
1247 *out_models = ref_booster->GetBoosting()->NumberOfTotalModel();
1248 API_END();
1249}
1250
1251int LGBM_BoosterGetEvalCounts(BoosterHandle handle, int* out_len) {
1252 API_BEGIN();

Callers

nothing calls this directly

Calls 2

NumberOfTotalModelMethod · 0.45
GetBoostingMethod · 0.45

Tested by

no test coverage detected