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

Function MakeFeaturesLayout

catboost/libs/data/features_layout_helpers.cpp:3–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "features_layout_helpers.h"
2
3NCB::TFeaturesLayout MakeFeaturesLayout(const TFullModel& model)
4{
5 return NCB::TFeaturesLayout(
6 model.ModelTrees->GetFloatFeatures(),
7 model.ModelTrees->GetCatFeatures(),
8 model.ModelTrees->GetTextFeatures(),
9 model.ModelTrees->GetEmbeddingFeatures()
10 );
11}

Callers 9

ExportFullModelFunction · 0.50
CalcInteractionFunction · 0.50
CalcAndOutputFstrFunction · 0.50
CalcAndOutputInteractionFunction · 0.50
MapBinFeaturesToClassesFunction · 0.50
EvaluateFeaturesImplFunction · 0.50

Calls 5

GetFloatFeaturesMethod · 0.80
GetCatFeaturesMethod · 0.80
GetTextFeaturesMethod · 0.80
GetEmbeddingFeaturesMethod · 0.80
TFeaturesLayoutClass · 0.70

Tested by

no test coverage detected