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

Method SetLeafValue

src/c_api.cpp:377–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375 }
376
377 void SetLeafValue(int tree_idx, int leaf_idx, double val) {
378 std::lock_guard<std::mutex> lock(mutex_);
379 dynamic_cast<GBDTBase*>(boosting_.get())->SetLeafValue(tree_idx, leaf_idx, val);
380 }
381
382 void ShuffleModels(int start_iter, int end_iter) {
383 std::lock_guard<std::mutex> lock(mutex_);

Callers 1

LGBM_BoosterSetLeafValueFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected