StatsBase.jl
StatsBase.jl copied to clipboard
Fix some issues with sampling
This PR is separated into three distinct changes:
- Fixing #871 and #877
- NFC to use testsets in weighted sampling tests
- Fix weighted sampling with
UnitWeights
See commit messages for additional info as applicable.
Fixes #871 Fixes #877
What's holding up this PR?
What's holding up this PR?
The following, which I've not had time for:
- [ ] Remember this PR exists
- [ ] Determine whether executing the checks twice introduces noticeable overhead
- [ ] If it does, don't run them twice
- [ ] Remove some internal functions from the documentation