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

Method Load

catboost/libs/data/objects.cpp:336–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void NCB::TCommonObjectsData::Load(TFeaturesLayoutPtr featuresLayout, ui32 objectCount, IBinSaver* binSaver) {
337 FeaturesLayout = featuresLayout;
338 SubsetIndexing = MakeAtomicShared<TArraySubsetIndexing<ui32>>(TFullSubset<ui32>(objectCount));
339 LoadMulti(binSaver, &Order, &StoreStringColumns, &SampleId, &GroupIds, &SubgroupIds, &Timestamp);
340 AddWithShared(binSaver, &CatFeaturesHashToString);
341}
342
343void NCB::TCommonObjectsData::SaveNonSharedPart(IBinSaver* binSaver) const {
344 SaveMulti(binSaver, Order, StoreStringColumns, SampleId, GroupIds, SubgroupIds, Timestamp);

Callers

nothing calls this directly

Calls 7

LoadMultiFunction · 0.85
AddWithSharedFunction · 0.85
LoadNonBundledColumnDataFunction · 0.85
IsReadingMethod · 0.80
resizeMethod · 0.45
sizeMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected