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

Function IsSamplingPerTree

catboost/private/libs/algo/calc_score_cache.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16bool IsSamplingPerTree(const NCatboostOptions::TObliviousTreeLearnerOptions& fitParams) {
17 return fitParams.SamplingFrequency.Get() == ESamplingFrequency::PerTree;
18}
19
20TVector<TBucketStats, TPoolAllocator>& TBucketStatsCache::GetStats(
21 const TSplitEnsemble& splitEnsemble,

Callers 6

DoMapMethod · 0.85
GreedyTensorSearchFunction · 0.85

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected