MLDataUtils.jl icon indicating copy to clipboard operation
MLDataUtils.jl copied to clipboard

CV with balanced sampling

Open yuehhua opened this issue 4 years ago • 0 comments

To avoid training on imbalanced datasets, we usually sample data to a balance manner and ensure that every fold in cv contains all kinds of labels. I'd like to find API like this, but I find stratified sampling and cross validation independently. Do we have methods to combine them together? Or how to use them collectively?

yuehhua avatar Apr 22 '21 07:04 yuehhua