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

Method IgnoreExternalFeature

catboost/libs/data/features_layout.cpp:375–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375void TFeaturesLayout::IgnoreExternalFeature(ui32 externalFeatureIdx) noexcept {
376 if (externalFeatureIdx >= ExternalIdxToMetaInfo.size()) {
377 return;
378 }
379
380 auto& metaInfo = ExternalIdxToMetaInfo[externalFeatureIdx];
381 metaInfo.IsIgnored = true;
382 metaInfo.IsAvailable = false;
383}
384
385void TFeaturesLayout::IgnoreExternalFeatures(TConstArrayRef<ui32> ignoredFeatures) noexcept {
386 for (auto ignoredFeature : ignoredFeatures) {

Callers 11

UpdateCatFeaturesInfoFunction · 0.80
MakeFeaturesLayoutFunction · 0.80
FinishMethod · 0.80
Y_UNIT_TESTFunction · 0.80
ProcessFloatFeatureFunction · 0.80
ProcessCatFeatureFunction · 0.80
AddIgnoredFeaturesFunction · 0.80
Y_UNIT_TESTFunction · 0.80
Y_UNIT_TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected