Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b494ccd

Browse filesBrowse files
committed
docs: #29890 moved example to assign_labels
-updated example description
1 parent ae25f5c commit b494ccd
Copy full SHA for b494ccd

File tree

Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed

‎sklearn/cluster/_spectral.py

Copy file name to clipboardExpand all lines: sklearn/cluster/_spectral.py
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,12 @@ def spectral_clustering(
292292
.. versionchanged:: 1.1
293293
Added new labeling method 'cluster_qr'.
294294
295+
For a more extended example, see:
296+
:ref: `sphx_glr_auto_examples_cluster_plot_coin_segmentation.py`.
297+
298+
This example demonstrates spectral clustering on an image to
299+
segment it into regions based on voxel-to-voxel differences.
300+
295301
verbose : bool, default=False
296302
Verbosity mode.
297303
@@ -599,9 +605,6 @@ class SpectralClustering(ClusterMixin, BaseEstimator):
599605
>>> clustering
600606
SpectralClustering(assign_labels='discretize', n_clusters=2,
601607
random_state=0)
602-
603-
For a more extended example, see:
604-
:ref: `sphx_glr_auto_examples_cluster_plot_coin_segmentation.py`.
605608
"""
606609

607610
_parameter_constraints: dict = {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.