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

Method TQuantizedFeaturesInfo

catboost/libs/data/quantized_features_info.cpp:106–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 9

GetCatFeatureCountMethod · 0.80
moveFunction · 0.50
TRuntimeTextOptionsClass · 0.50

Tested by

no test coverage detected