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

Method GetEstimatorSourceType

catboost/libs/data/feature_estimators.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 EFeatureType TFeatureEstimators::GetEstimatorSourceType(TEstimatorId estimatorId) const {
63 if (estimatorId.IsOnline) {
64 return OnlineFeatureEstimators.at(estimatorId.Id)->GetSourceType();
65 } else {
66 return FeatureEstimators.at(estimatorId.Id)->GetSourceType();
67 }
68 }
69
70 EFeatureType TFeatureEstimators::GetEstimatorSourceType(const TGuid& guid) const {
71 CB_ENSURE(

Callers 4

GetModelSplitMethod · 0.80
CreateDataForTestFunction · 0.80

Calls 3

GetSourceTypeMethod · 0.45
atMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected