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

Method Load

catboost/private/libs/options/boosting_options.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void 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
38void NCatboostOptions::TBoostingOptions::Save(NJson::TJsonValue* options) const {
39 SaveFields(options,

Callers

nothing calls this directly

Calls 2

CheckedLoadFunction · 0.85
ValidateFunction · 0.50

Tested by

no test coverage detected