| 284 | } |
| 285 | |
| 286 | void NCatboostOptions::TOutputFilesOptions::Load(const NJson::TJsonValue& options) { |
| 287 | CheckedLoad( |
| 288 | options, |
| 289 | &TrainDir, &Name, &JsonLogPath, &ProfileLogPath, &LearnErrorLogPath, |
| 290 | &TestErrorLogPath, &TimeLeftLog, &ResultModelPath, &SnapshotPath, &ModelFormats, |
| 291 | &SaveSnapshotFlag, &AllowWriteFilesFlag, &FinalCtrComputationMode, &FinalFeatureCalcerComputationMode, |
| 292 | &UseBestModel, &BestModelMinTrees, &SnapshotSaveIntervalSeconds, &EvalFileName, &OutputColumns, |
| 293 | &FstrRegularFileName, &FstrInternalFileName, &FstrType, &TrainingOptionsFileName, &MetricPeriod, |
| 294 | &VerbosePeriod, &PredictionTypes, &OutputBordersFileName, &RocOutputPath |
| 295 | ); |
| 296 | if (!VerbosePeriod.IsSet() || VerbosePeriod.Get() == 1) { |
| 297 | VerbosePeriod.Set(MetricPeriod.Get()); |
| 298 | } |
| 299 | Validate(); |
| 300 | } |
| 301 | |
| 302 | void NCatboostOptions::TOutputFilesOptions::Save(NJson::TJsonValue* options) const { |
| 303 | SaveFields( |
nothing calls this directly
no test coverage detected