diff --git a/doc/modules/grid_search.rst b/doc/modules/grid_search.rst index 5d32ed3d84004..c5d591e2f1123 100644 --- a/doc/modules/grid_search.rst +++ b/doc/modules/grid_search.rst @@ -113,9 +113,12 @@ consecutive calls. .. warning:: - The distributions in ``scipy.stats`` do not allow specifying a random - state. Instead, they use the global numpy random state, that can be seeded - via ``np.random.seed`` or set using ``np.random.set_state``. + The distributions in ``scipy.stats`` prior to version scipy 0.16 + do not allow specifying a random state. Instead, they use the global + numpy random state, that can be seeded via ``np.random.seed`` or set + using ``np.random.set_state``. However, beginning scikit-learn 0.18, + the :mod:`sklearn.model_selection` module sets the random state provided + by the user if scipy >= 0.16 is also available. For continuous parameters, such as ``C`` above, it is important to specify a continuous distribution to take full advantage of the randomization. This way,