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

Method AddLeafValue

catboost/libs/model/model.cpp:268–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268void TModelTrees::AddLeafValue(double leafValue) {
269 CastToSolidTree(*this)->LeafValues.push_back(leafValue);
270}
271
272void TModelTrees::AddLeafWeight(double leafWeight) {
273 CastToSolidTree(*this)->LeafWeights.push_back(leafWeight);

Callers 4

GetObliviousModelTreesFunction · 0.80
SimpleFloatModelFunction · 0.80
SimpleDeepTreeModelFunction · 0.80

Calls 2

CastToSolidTreeFunction · 0.85
push_backMethod · 0.45

Tested by 2

SimpleFloatModelFunction · 0.64
SimpleDeepTreeModelFunction · 0.64