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

Function ReadModel

catboost/libs/model/model.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76TFullModel ReadModel(const TString& modelFile, EModelType format) {
77 CheckFormat(format);
78 THolder<NCB::IModelLoader> modelLoader(NCB::TModelLoaderFactory::Construct(format));
79 return modelLoader->ReadModel(modelFile);
80}
81
82TFullModel ReadModel(const void* binaryBuffer, size_t binaryBufferSize, EModelType format) {
83 CheckFormat(format);

Callers 15

DoMainFunction · 0.85
ReadModelAnyFunction · 0.85
mode_eval_metricsFunction · 0.85
mode_normalize_modelMethod · 0.85
LoadModelMethod · 0.85
mode_model_sumFunction · 0.85
mode_ostrFunction · 0.85
ModeFstrSingleHostMethod · 0.85
Y_UNIT_TESTFunction · 0.85

Calls 3

CheckFormatFunction · 0.85
ConstructClass · 0.50
ReadModelMethod · 0.45

Tested by

no test coverage detected