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

Method AddLeafWeight

catboost/libs/model/model.cpp:272–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void TModelTrees::AddLeafWeight(double leafWeight) {
273 CastToSolidTree(*this)->LeafWeights.push_back(leafWeight);
274}
275
276bool TModelTrees::IsSolid() const {
277 return dynamic_cast<TSolidModelTree*>(ModelTreeData.Get());

Callers 2

GetObliviousModelTreesFunction · 0.80

Calls 2

CastToSolidTreeFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected