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

Function MapSetIndices

catboost/private/libs/distributed/master.cpp:399–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399void MapSetIndices(const TSplit& bestSplit, TLearnContext* ctx) {
400 Y_ASSERT(ctx->Params.SystemOptions->IsMaster());
401 const int workerCount = TMasterEnvironment::GetRef().RootEnvironment->GetSlaveCount();
402 ApplyMapper<TLeafIndexSetter>(workerCount, TMasterEnvironment::GetRef().SharedTrainData, bestSplit);
403}
404
405int MapGetRedundantSplitIdx(TLearnContext* ctx) {
406 Y_ASSERT(ctx->Params.SystemOptions->IsMaster());

Callers 1

Calls 2

IsMasterMethod · 0.45
GetSlaveCountMethod · 0.45

Tested by

no test coverage detected