| 118 | |
| 119 | template<ParallelScheme _ps, bool _infer, typename _ExtraDocData> |
| 120 | void sampleDocument(_DocType& doc, const _ExtraDocData& edd, size_t docId, _ModelState& ld, _RandGen& rgs, size_t iterationCnt, size_t partitionId = 0) const |
| 121 | { |
| 122 | BaseClass::template sampleDocument<_ps, _infer>(doc, edd, docId, ld, rgs, iterationCnt, partitionId); |
| 123 | /*if (iterationCnt >= this->burnIn && this->optimInterval && (iterationCnt + 1) % this->optimInterval == 0) |
| 124 | { |
| 125 | updateBeta(doc, rgs); |
| 126 | }*/ |
| 127 | } |
| 128 | |
| 129 | template<GlobalSampler _gs, typename _DocIter> |
| 130 | void sampleGlobalLevel(ThreadPool* pool, _ModelState*, _RandGen* rgs, _DocIter first, _DocIter last) const |
nothing calls this directly
no outgoing calls
no test coverage detected