Check out [this page](http://scikit-learn.org/dev/developers/utilities.html#validation-tools) regarding validation utils.