spark git commit: [SPARK-18678][ML] Skewed reservoir sampling in SamplingUtils

2016-12-07 Thread srowen
Repository: spark Updated Branches: refs/heads/branch-2.1 99c293eea -> 51754d6df [SPARK-18678][ML] Skewed reservoir sampling in SamplingUtils ## What changes were proposed in this pull request? Fix reservoir sampling bias for small k. An off-by-one error meant that the probability of

spark git commit: [SPARK-18678][ML] Skewed reservoir sampling in SamplingUtils

2016-12-07 Thread srowen
Repository: spark Updated Branches: refs/heads/master b82802713 -> 79f5f281b [SPARK-18678][ML] Skewed reservoir sampling in SamplingUtils ## What changes were proposed in this pull request? Fix reservoir sampling bias for small k. An off-by-one error meant that the probability of