This should go in `sklearn.utils.random`.