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

Method UseForTreeCtr

catboost/cuda/data/binarizations_manager.cpp:118–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 bool TBinarizedFeaturesManager::UseForTreeCtr(ui32 featureId) const {
119 if (IsEstimatedFeature(featureId)) {
120 return false;
121 }
122 return UseForCtr(featureId) && (CatFeatureOptions.MaxTensorComplexity > 1);
123 }
124
125 bool TBinarizedFeaturesManager::UseForTreeCtr(const TFeatureTensor& tensor) const {
126 for (auto split : tensor.GetSplits()) {

Calls 2

GetSplitsMethod · 0.80
GetComplexityMethod · 0.80

Tested by

no test coverage detected