Skip to content

Commit aec7f25

Browse files
markbaoagramfort
authored andcommitted
Doc: spectral.py: Add default value to gamma (scikit-learn#6941)
1 parent 1220ca3 commit aec7f25

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
@@ -305,7 +305,7 @@ class SpectralClustering(BaseEstimator, ClusterMixin):
305305
increase with similarity) should be used. This property is not checked
306306
by the clustering algorithm.
307307
308-
gamma : float
308+
gamma : float, default=1.0
309309
Scaling factor of RBF, polynomial, exponential chi^2 and
310310
sigmoid affinity kernel. Ignored for
311311
``affinity='nearest_neighbors'``.

0 commit comments

Comments
 (0)