MCPcopy Create free account
hub / github.com/catboost/catboost / ClearLeafWeights

Method ClearLeafWeights

catboost/libs/model/model.cpp:251–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void TModelTrees::ClearLeafWeights() {
252 CastToSolidTree(*this)->LeafWeights.clear();
253}
254
255void TModelTrees::AddTreeSplit(int treeSplit) {
256 CastToSolidTree(*this)->TreeSplits.push_back(treeSplit);

Callers 2

RunTestWithParamsFunction · 0.80
Y_UNIT_TESTFunction · 0.80

Calls 2

CastToSolidTreeFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected