diff --git a/doc/modules/feature_extraction.rst b/doc/modules/feature_extraction.rst index 88634a432b01a..73345d28fc094 100644 --- a/doc/modules/feature_extraction.rst +++ b/doc/modules/feature_extraction.rst @@ -1041,6 +1041,8 @@ implemented as a scikit-learn transformer, so it can be used in pipelines. See:: >>> patches.shape (45, 2, 2, 3) +.. _connectivity_graph_image: + Connectivity graph of an image ------------------------------- diff --git a/sklearn/feature_extraction/image.py b/sklearn/feature_extraction/image.py index ae7325d528224..b571215de47be 100644 --- a/sklearn/feature_extraction/image.py +++ b/sklearn/feature_extraction/image.py @@ -205,6 +205,8 @@ def grid_to_graph( Edges exist if 2 voxels are connected. + Read more in the :ref:`User Guide `. + Parameters ---------- n_x : int