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

Method GetEmbeddingFeatureCount

catboost/libs/data/features_layout.cpp:342–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342ui32 TFeaturesLayout::GetEmbeddingFeatureCount() const noexcept {
343 // cast is safe because of size invariant established in constructors
344 return (ui32)EmbeddingFeatureInternalIdxToExternalIdx.size();
345}
346
347ui32 TFeaturesLayout::GetExternalFeatureCount() const noexcept {
348 // cast is safe because of size invariant established in constructors

Callers 10

CreateEstimatorsFunction · 0.80
GetTrainingDataFunction · 0.80
MarginalImputerMethod · 0.80
ImputeInplaceMethod · 0.80
DoMethod · 0.80
ProcessBlockMethod · 0.80
TrainModelFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected