Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antmachineintelligence/mtgbmcode
/ SetNumlabels
Method
SetNumlabels
src/c_api.cpp:352–354 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
350
}
351
352
void SetNumlabels(int num_labels) {
353
boosting_->SetNumlabels(num_labels);
354
}
355
356
void LoadModelFromString(const char* model_str) {
357
size_t len = std::strlen(model_str);
Callers
1
LGBM_BoosterSetNumLabels
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected