Skip to content

DOC: added link to cluster_plot_coin_ward_segmentation example in feature_extraction.grid_to_graph #30916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/modules/feature_extraction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------------------

Expand Down
2 changes: 2 additions & 0 deletions sklearn/feature_extraction/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def grid_to_graph(

Edges exist if 2 voxels are connected.

Read more in the :ref:`User Guide <connectivity_graph_image>`.

Parameters
----------
n_x : int
Expand Down