| 104 | } |
| 105 | |
| 106 | TQuantizedFeaturesInfo::TQuantizedFeaturesInfo( |
| 107 | const NCB::TFeaturesLayout &featuresLayout, |
| 108 | TConstArrayRef<ui32> ignoredFeatures, |
| 109 | NCatboostOptions::TBinarizationOptions commonFloatFeaturesBinarization, |
| 110 | TMap<ui32, NCatboostOptions::TBinarizationOptions> perFloatFeatureQuantization, |
| 111 | bool floatFeaturesAllowNansInTestOnly) |
| 112 | : TQuantizedFeaturesInfo( |
| 113 | featuresLayout, |
| 114 | ignoredFeatures, |
| 115 | commonFloatFeaturesBinarization, |
| 116 | perFloatFeatureQuantization, |
| 117 | NCatboostOptions::TTextProcessingOptions(), |
| 118 | NCatboostOptions::TEmbeddingProcessingOptions(), |
| 119 | floatFeaturesAllowNansInTestOnly |
| 120 | ) |
| 121 | {} |
| 122 | |
| 123 | static TVector<ui32> GetAvailableTextFeatureIndices(const TFeaturesLayout& featuresLayout) { |
| 124 | TVector<ui32> textFeatureIndices; |
nothing calls this directly
no test coverage detected