8000 Merge pull request #4265 from harrymvr/doc_spectral_clustering · scikit-learn/scikit-learn@f20ff86 · GitHub
[go: up one dir, main page]

Skip to content

Commit f20ff86

Browse files
committed
Merge pull request #4265 from harrymvr/doc_spectral_clustering
DOC: specifies the default number of eigenvectors
2 parents 4f3613f + 26df432 commit f20ff86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/spectral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def spectral_clustering(affinity, n_clusters=8, n_components=None,
184184
n_clusters : integer, optional
185185
Number of clusters to extract.
186186
187-
n_components : integer, optional, default is k
187+
n_components : integer, optional, default is n_clusters
188188
Number of eigen vectors to use for the spectral embedding
189189
190190
eigen_solver : {None, 'arpack', 'lobpcg', or 'amg'}

0 commit comments

Comments
 (0)
0