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

Function LGBM_BoosterSetNumLabels

src/c_api.cpp:1345–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1343}
1344
1345int LGBM_BoosterSetNumLabels(BoosterHandle handle, int num_labels) {
1346 API_BEGIN();
1347 Booster* ref_booster = reinterpret_cast<Booster*>(handle);
1348 ref_booster->SetNumlabels(num_labels);
1349 API_END();
1350}
1351
1352int LGBM_BoosterPredictForCSR(BoosterHandle handle,
1353 const void* indptr,

Callers

nothing calls this directly

Calls 1

SetNumlabelsMethod · 0.45

Tested by

no test coverage detected