| 235 | } |
| 236 | |
| 237 | static TString MakeFoldDirName( |
| 238 | const NCatboostOptions::TFeatureEvalOptions& featureEvalOptions, |
| 239 | bool isTest, |
| 240 | ui32 featureSetIdx, |
| 241 | ui32 foldIdx |
| 242 | ) { |
| 243 | auto foldDir = TStringBuilder(); |
| 244 | if (!isTest) { |
| 245 | foldDir << "Baseline_"; |
| 246 | const auto evalMode = featureEvalOptions.FeatureEvalMode; |
| 247 | const auto featureSetCount = featureEvalOptions.FeaturesToEvaluate->size(); |
| 248 | if (featureSetCount > 0 && evalMode == NCB::EFeatureEvalMode::OneVsOthers) { |
| 249 | foldDir << "set_" << featureSetIdx << "_"; |
| 250 | } |
| 251 | } else { |
| 252 | foldDir << "Testing_set_" << featureSetIdx << "_"; |
| 253 | } |
| 254 | foldDir << "fold_" << foldIdx; |
| 255 | return foldDir; |
| 256 | } |
| 257 | |
| 258 | void TFeatureEvaluationSummary::CreateLogs( |
| 259 | const NCatboostOptions::TOutputFilesOptions& outputFileOptions, |
no test coverage detected