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

Function mode_normalize_model

catboost/app/modes.h:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70inline int mode_normalize_model(int argc, const char** argv) {
71 THolder<NCB::IModeNormalizeModelImplementation> impl;
72 if (NCB::TModeNormalizeModelImplementationFactory::Has(NCB::EImplementationType::YandexSpecific)) {
73 impl.Reset(NCB::TModeNormalizeModelImplementationFactory::Construct(NCB::EImplementationType::YandexSpecific));
74 } else {
75 CB_ENSURE(NCB::TModeNormalizeModelImplementationFactory::Has(NCB::EImplementationType::OpenSource),
76 "Missing normalize-model implementation");
77 impl.Reset(NCB::TModeNormalizeModelImplementationFactory::Construct(NCB::EImplementationType::OpenSource));
78 }
79 return impl->mode_normalize_model(argc, argv);
80}

Callers

nothing calls this directly

Calls 4

HasFunction · 0.85
mode_normalize_modelMethod · 0.80
ConstructClass · 0.50
ResetMethod · 0.45

Tested by

no test coverage detected