| 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()) { |
no test coverage detected