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

Function NeedPriorEstimation

catboost/cuda/train_lib/train.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 static inline bool NeedPriorEstimation(const TVector<NCatboostOptions::TCtrDescription>& descriptions) {
125 for (const auto& description : descriptions) {
126 if (description.PriorEstimation != EPriorEstimation::No) {
127 return true;
128 }
129 }
130 return false;
131 }
132
133 static inline void EstimatePriors(const NCB::TTrainingDataProvider& dataProvider,
134 TBinarizedFeaturesManager& featureManager,

Callers 1

EstimatePriorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected