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

Method UpdateEstimatedFeaturesIndices

catboost/libs/model/model.cpp:1484–1492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1482}
1483
1484void TFullModel::UpdateEstimatedFeaturesIndices(TVector<TEstimatedFeature>&& newEstimatedFeatures) {
1485 CB_ENSURE(
1486 TextProcessingCollection || EmbeddingProcessingCollection,
1487 "UpdateEstimatedFeatureIndices called when ProcessingCollections aren't defined"
1488 );
1489
1490 ModelTrees.GetMutable()->SetEstimatedFeatures(std::move(newEstimatedFeatures));
1491 ModelTrees.GetMutable()->UpdateRuntimeData();
1492}
1493
1494bool TFullModel::IsPosteriorSamplingModel() const {
1495 if (ModelInfo.contains("params")) {

Callers 1

DoImplMethod · 0.80

Calls 4

SetEstimatedFeaturesMethod · 0.80
GetMutableMethod · 0.80
UpdateRuntimeDataMethod · 0.80
moveFunction · 0.50

Tested by

no test coverage detected