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

Method GetOneHotFeatures

catboost/libs/model/model.h:349–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347 }
348
349 TConstArrayRef<TOneHotFeature> GetOneHotFeatures() const noexcept {
350 return TConstArrayRef<TOneHotFeature>(OneHotFeatures.data(), OneHotFeatures.data() + OneHotFeatures.size());
351 }
352
353 TConstArrayRef<TCtrFeature> GetCtrFeatures() const noexcept {
354 return TConstArrayRef<TCtrFeature>(CtrFeatures.data(), CtrFeatures.data() + CtrFeatures.size());

Callers 15

AlmostEqualMethod · 0.45
MapBinFeaturesToClassesFunction · 0.45
UpdateDynamicDataMethod · 0.45
GetCalcTreesFunctionFunction · 0.45
ConfigureTreesMethod · 0.45
ConfigureTreeModelIOMethod · 0.45
WriteModelCatFeaturesMethod · 0.45

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected