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

Method Init

catboost/libs/data/quantized_features_info.cpp:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 void TQuantizedFeaturesInfo::Init(TFeaturesLayout* featuresLayout) {
166 FeaturesLayout = MakeIntrusive<TFeaturesLayout>(std::move(*featuresLayout));
167 TCatFeaturesPerfectHash catFeaturesPerfectHash(FeaturesLayout->GetCatFeatureCount());
168 DoSwap(CatFeaturesPerfectHash, catFeaturesPerfectHash);
169 }
170
171
172 bool TQuantizedFeaturesInfo::EqualTo(const TQuantizedFeaturesInfo& rhs, bool ignoreSparsity) const {

Callers

nothing calls this directly

Calls 3

GetCatFeatureCountMethod · 0.80
moveFunction · 0.50
DoSwapFunction · 0.50

Tested by

no test coverage detected