| 27 | } |
| 28 | |
| 29 | void NCatboostOptions::TBoostingOptions::Load(const NJson::TJsonValue& options) { |
| 30 | CheckedLoad(options, |
| 31 | &LearningRate, &FoldLenMultiplier, &PermutationBlockSize, &IterationCount, &OverfittingDetector, |
| 32 | &BoostingType, &BoostFromAverage, &PermutationCount, &MinFoldSize, &ApproxOnFullHistory, |
| 33 | &DataPartitionType, &ModelShrinkRate, &ModelShrinkMode, &Langevin, &DiffusionTemperature, &PosteriorSampling); |
| 34 | |
| 35 | Validate(); |
| 36 | } |
| 37 | |
| 38 | void NCatboostOptions::TBoostingOptions::Save(NJson::TJsonValue* options) const { |
| 39 | SaveFields(options, |
nothing calls this directly
no test coverage detected