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

Method GetLeafValue

python-package/compile/src/c_api.cpp:373–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371 }
372
373 double GetLeafValue(int tree_idx, int leaf_idx) const {
374 return dynamic_cast<GBDTBase*>(boosting_.get())->GetLeafValue(tree_idx, leaf_idx);
375 }
376
377 void SetLeafValue(int tree_idx, int leaf_idx, double val) {
378 std::lock_guard<std::mutex> lock(mutex_);

Callers 1

LGBM_BoosterGetLeafValueFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected