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

Function InitFeaturesLayoutForQuantizedData

catboost/libs/data/quantization.cpp:2158–2173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2156
2157
2158 static TFeaturesLayoutPtr InitFeaturesLayoutForQuantizedData(
2159 const TFeaturesLayout& rawObjectsDataLayout,
2160 const TFeaturesLayout& quantizedFeaturesInfoLayout
2161 ) {
2162 CheckCompatibleForQuantize(
2163 rawObjectsDataLayout,
2164 quantizedFeaturesInfoLayout,
2165 "data to quantize"
2166 );
2167
2168 TFeaturesLayoutPtr featuresLayout = MakeIntrusive<TFeaturesLayout>(rawObjectsDataLayout);
2169
2170 AddIgnoredFeatures(quantizedFeaturesInfoLayout, featuresLayout.Get());
2171
2172 return featuresLayout;
2173 }
2174
2175
2176 // this is a helper class needed for friend declarations

Callers 1

DoMethod · 0.85

Calls 2

AddIgnoredFeaturesFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected