| 49 | } |
| 50 | |
| 51 | void NCatboostOptions::TObliviousTreeLearnerOptions::Load(const NJson::TJsonValue& options) { |
| 52 | CheckedLoad(options, |
| 53 | &MaxDepth, &LeavesEstimationIterations, &LeavesEstimationMethod, &L2Reg, &MetaL2Exponent, &MetaL2Frequency, &ModelSizeReg, |
| 54 | &RandomStrength, &RandomScoreType, |
| 55 | &BootstrapConfig, &FoldSizeLossNormalization, &AddRidgeToTargetFunctionFlag, |
| 56 | &ScoreFunction, |
| 57 | &GrowPolicy, |
| 58 | &MaxLeaves, |
| 59 | &MinDataInLeaf, |
| 60 | &MaxCtrComplexityForBordersCaching, |
| 61 | &Rsm, |
| 62 | &ObservationsToBootstrap, |
| 63 | &PairwiseNonDiagReg, |
| 64 | &LeavesEstimationBacktrackingType, |
| 65 | &SamplingFrequency, |
| 66 | &DevScoreCalcObjBlockSize, |
| 67 | &DevExclusiveFeaturesBundleMaxBuckets, |
| 68 | &SparseFeaturesConflictFraction, |
| 69 | &FixedBinarySplits, |
| 70 | &MonotoneConstraints, |
| 71 | &DevLeafwiseApproxes, |
| 72 | &FeaturePenalties |
| 73 | ); |
| 74 | |
| 75 | Validate(); |
| 76 | } |
| 77 | |
| 78 | void NCatboostOptions::TObliviousTreeLearnerOptions::Save(NJson::TJsonValue* options) const { |
| 79 | SaveFields(options, MaxDepth, LeavesEstimationIterations, LeavesEstimationMethod, L2Reg, MetaL2Exponent, MetaL2Frequency, ModelSizeReg, |
nothing calls this directly
no test coverage detected