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

Function SaveSummaryToFile

catboost/app/mode_select_features.cpp:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115
116void SaveSummaryToFile(const TFeaturesSelectionSummary& summary, const TString& resultPath) {
117 auto summaryJson = ToJson(summary);
118 TOFStream out(resultPath);
119 NJson::TJsonWriterConfig config;
120 config.FormatOutput = true;
121 config.SortKeys = true;
122 WriteJson(&out, &summaryJson, config);
123}
124
125
126int mode_select_features(int argc, const char* argv[]) {

Callers 1

mode_select_featuresFunction · 0.85

Calls 2

ToJsonFunction · 0.50
WriteJsonFunction · 0.50

Tested by

no test coverage detected