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

Function OutputBorderCounts

catboost/libs/model/model_export/export_helpers.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 TString OutputBorderCounts(const TFullModel& model) {
30 return OutputArrayInitializer([&model] (size_t i) { return model.ModelTrees->GetFloatFeatures()[i].Borders.size(); }, model.ModelTrees->GetFloatFeatures().size());
31 }
32
33 TString OutputBorders(const TFullModel& model, bool addFloatingSuffix) {
34 TStringBuilder outString;

Callers 1

WriteModelMethod · 0.85

Calls 3

OutputArrayInitializerFunction · 0.85
GetFloatFeaturesMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected