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

Method Load

catboost/private/libs/options/oblivious_tree_options.cpp:51–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void 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
78void NCatboostOptions::TObliviousTreeLearnerOptions::Save(NJson::TJsonValue* options) const {
79 SaveFields(options, MaxDepth, LeavesEstimationIterations, LeavesEstimationMethod, L2Reg, MetaL2Exponent, MetaL2Frequency, ModelSizeReg,

Callers

nothing calls this directly

Calls 2

CheckedLoadFunction · 0.85
ValidateFunction · 0.50

Tested by

no test coverage detected