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

Function LGBM_BoosterSetLeafValue

src/c_api.cpp:1607–1615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1605}
1606
1607int LGBM_BoosterSetLeafValue(BoosterHandle handle,
1608 int tree_idx,
1609 int leaf_idx,
1610 double val) {
1611 API_BEGIN();
1612 Booster* ref_booster = reinterpret_cast<Booster*>(handle);
1613 ref_booster->SetLeafValue(tree_idx, leaf_idx, val);
1614 API_END();
1615}
1616
1617int LGBM_BoosterFeatureImportance(BoosterHandle handle,
1618 int num_iteration,

Callers

nothing calls this directly

Calls 1

SetLeafValueMethod · 0.45

Tested by

no test coverage detected