subsampling

Scikit-learn balanced subsampling

Scikit-learn balanced subsampling Question: I’m trying to create N balanced random subsamples of my large unbalanced dataset. Is there a way to do this simply with scikit-learn / pandas or do I have to implement it myself? Any pointers to code that does this? These subsamples should be random and can be overlapping as I …

Total answers: 15