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

Function GetModelEmbeddingFeaturesIndices

catboost/libs/model/model.cpp:1366–1368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1364}
1365
1366TVector<size_t> GetModelEmbeddingFeaturesIndices(const TFullModel& model) {
1367 return MakeIndicesVector(model.ModelTrees->GetEmbeddingFeatures());
1368}
1369
1370void SetModelExternalFeatureNames(const TVector<TString>& featureNames, TFullModel* model) {
1371 model->ModelTrees.GetMutable()->ApplyFeatureNames(featureNames);

Callers 2

Y_UNIT_TESTFunction · 0.85

Calls 2

MakeIndicesVectorFunction · 0.85
GetEmbeddingFeaturesMethod · 0.80

Tested by

no test coverage detected