| 47 | } |
| 48 | |
| 49 | TEstimatorSourceId TFeatureEstimators::GetEstimatorSourceFeatureIdx(const TGuid& guid) const { |
| 50 | CB_ENSURE( |
| 51 | EstimatorGuidToFlatId.contains(guid), |
| 52 | "There is no estimator with " << LabeledOutput(guid) |
| 53 | ); |
| 54 | TEstimatorId estimatorId = EstimatorGuidToFlatId.at(guid); |
| 55 | return EstimatorToSourceFeatures.at(estimatorId); |
| 56 | } |
| 57 | |
| 58 | TEstimatorSourceId TFeatureEstimators::GetEstimatorSourceFeatureIdx(TEstimatorId estimatorId) const { |
| 59 | return EstimatorToSourceFeatures.at(estimatorId); |
no test coverage detected