DOC: add graph spectral clustering doc to user guide (fix
@@ -481,7 +481,7 @@ function of the gradient of the image.
:scale: 65
Different label assignment strategies
----------------------------------------
+-------------------------------------
Different label assignment strategies can be used, corresponding to the
``assign_labels`` parameter of :class:`SpectralClustering`.
@@ -498,6 +498,16 @@ geometrical shape.
|face_kmeans| |face_discretize|
===================================== =====================================
+Spectral Clustering Graphs
+--------------------------
+
+Spectral Clustering can also be used to cluster graphs by their spectral
+embeddings. In this case, the affinity matrix is the adjacency matrix of the
+graph, and SpectralClustering is initialized with `affinity='precomputed'`::
+
+ >>> sc = SpectralClustering(k, affinity='precomputed', n_init=100,
+ ... assign_labels='discretize')
+ >>> sc.fit_predict(adjacency_matrix)
.. topic:: References:
