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

Method GetExternalFeatureCount

catboost/libs/data/features_layout.cpp:347–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347ui32 TFeaturesLayout::GetExternalFeatureCount() const noexcept {
348 // cast is safe because of size invariant established in constructors
349 return (ui32)ExternalIdxToMetaInfo.size();
350}
351
352ui32 TFeaturesLayout::GetFeatureCount(EFeatureType type) const noexcept {
353 switch (type) {

Calls 1

sizeMethod · 0.45

Tested by 4

TestDatasetHolderBuilderFunction · 0.64