Stratified Sampling for Imbalanced Datasets Posted on November 26, 2021July 20, 2022 by MLNerds This 5 minute video describes the need for stratified sampling and how to incorporate it in our ML pipelines with scikit-learn.