| 1482 | } |
| 1483 | |
| 1484 | void 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 | |
| 1494 | bool TFullModel::IsPosteriorSamplingModel() const { |
| 1495 | if (ModelInfo.contains("params")) { |
no test coverage detected