| 397 | } |
| 398 | |
| 399 | void 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 | |
| 405 | int MapGetRedundantSplitIdx(TLearnContext* ctx) { |
| 406 | Y_ASSERT(ctx->Params.SystemOptions->IsMaster()); |
no test coverage detected