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

Method GetUniqueValuesCounts

catboost/cuda/data/binarizations_manager.cpp:448–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446 }
447
448 TCatFeatureUniqueValuesCounts TBinarizedFeaturesManager::GetUniqueValuesCounts(ui32 featureId) const {
449 CB_ENSURE(IsCat(featureId));
450 return QuantizedFeaturesInfo->GetUniqueValuesCounts(
451 QuantizedFeaturesInfo->GetFeaturesLayout()->GetInternalFeatureIdx<EFeatureType::Categorical>(
452 FeatureManagerIdToDataProviderId[featureId]));
453 }
454 TVector<ui32> TBinarizedFeaturesManager::GetEstimatedFeatureIds() const {
455 TVector<ui32> result;
456 for (const auto& [estimatedFeature, id] : EstimatedFeatureToFeatureManagerId) {

Callers 15

TFinalCtrsCalcerMethod · 0.45
GetActiveFeaturesIndicesFunction · 0.45
AddOneHotFeaturesFunction · 0.45
AddSimpleCtrsFunction · 0.45
AddTreeCtrsFunction · 0.45
ComputeOnlineCTRsFunction · 0.45
CountNonCtrBucketsFunction · 0.45
GetBucketCountFunction · 0.45
WriteOneHotFeatureMethod · 0.45
GetFoldsCountMethod · 0.45

Calls 1

GetFeaturesLayoutMethod · 0.45

Tested by 2

CheckDataSetFunction · 0.36
BuildTreeCtrSplitCpuMethod · 0.36