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

Method Save

catboost/libs/data/objects.cpp:1368–1384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1366
1367
1368void NCB::TExclusiveFeatureBundlesData::Save(
1369 NPar::ILocalExecutor* localExecutor,
1370 IBinSaver* binSaver
1371) const {
1372 Y_ASSERT(!binSaver->IsReading());
1373 Y_ASSERT(MetaData.size() == SrcData.size());
1374
1375 SaveMulti(
1376 binSaver,
1377 FlatFeatureIndexToBundlePart,
1378 MetaData
1379 );
1380
1381 for (const auto& srcDataElement : SrcData) {
1382 SaveColumnData(*srcDataElement, localExecutor, binSaver);
1383 }
1384}
1385
1386
1387void NCB::TExclusiveFeatureBundlesData::Load(

Callers 1

SaveNonSharedPartMethod · 0.45

Calls 5

SaveMultiFunction · 0.85
SaveColumnDataFunction · 0.85
IsReadingMethod · 0.80
sizeMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected