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

Method GetAllSimpleCtrs

catboost/cuda/data/binarizations_manager.cpp:235–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 }
234
235 TVector<ui32> TBinarizedFeaturesManager::GetAllSimpleCtrs() const {
236 TVector<ui32> ids;
237 for (auto& knownCtr : KnownCtrs) {
238 const TCtr& ctr = knownCtr.first;
239 if (ctr.IsSimple()) {
240 ids.push_back(knownCtr.second);
241 }
242 }
243 return ids;
244 }
245
246 TVector<ui32> TBinarizedFeaturesManager::CreateCombinationCtrForType(ECtrType type) {
247 TSet<ui32> resultIds;

Callers 1

TestTreeBuilderFunction · 0.80

Calls 2

IsSimpleMethod · 0.45
push_backMethod · 0.45

Tested by 1

TestTreeBuilderFunction · 0.64