View the code on GitHub.
This page allows you to experiment with the various data subsampling algorithms.