Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sampling weight calculation (#6537)
Using numeric casting, we always round down which leads to the sampling weight being calculated less accurately. For example, a sample rate of 0.16666666666666666 results in a sampling weight of 5 instead of 6.
- Loading branch information