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

Method GetInternalFeatureIdx

catboost/libs/data/features_layout.cpp:270–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270ui32 TFeaturesLayout::GetInternalFeatureIdx(ui32 externalFeatureIdx) const {
271 Y_ASSERT(IsCorrectExternalFeatureIdx(externalFeatureIdx));
272 return FeatureExternalIdxToInternalIdx[externalFeatureIdx];
273}
274
275EFeatureType TFeaturesLayout::GetExternalFeatureType(ui32 externalFeatureIdx) const {
276 Y_ASSERT(IsCorrectExternalFeatureIdx(externalFeatureIdx));

Callers 15

ProcessForFeatureMethod · 0.45
InitCtrHelperMethod · 0.45
AddFeatureMethod · 0.45
GetCatFeatureValuesFunction · 0.45
InitializeColumnWriterFunction · 0.45
CalcFeatureInteractionFunction · 0.45
GetPerTypeFeatureIdxMethod · 0.45
AddFeatureToBundleFunction · 0.45
ProcessBlockMethod · 0.45
ProcessBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected