Skip to content
Snippets Groups Projects
  • Doris Xin's avatar
    2f75a4a3
    [SPARK-2656] Python version of stratified sampling · 2f75a4a3
    Doris Xin authored
    exact sample size not supported for now.
    
    Author: Doris Xin <doris.s.xin@gmail.com>
    
    Closes #1554 from dorx/pystratified and squashes the following commits:
    
    4ba927a [Doris Xin] use rel diff (+- 50%) instead of abs diff (+- 50)
    bdc3f8b [Doris Xin] updated unit to check sample holistically
    7713c7b [Doris Xin] Python version of stratified sampling
    2f75a4a3
    History
    [SPARK-2656] Python version of stratified sampling
    Doris Xin authored
    exact sample size not supported for now.
    
    Author: Doris Xin <doris.s.xin@gmail.com>
    
    Closes #1554 from dorx/pystratified and squashes the following commits:
    
    4ba927a [Doris Xin] use rel diff (+- 50%) instead of abs diff (+- 50)
    bdc3f8b [Doris Xin] updated unit to check sample holistically
    7713c7b [Doris Xin] Python version of stratified sampling