8000 Update sklearn/cluster/_spectral.py · sstalley/scikit-learn@b9c7af8 · GitHub
[go: up one dir, main page]

Skip to content

Commit b9c7af8

Browse files
sstalleythomasjpfan
andcommitted
Update sklearn/cluster/_spectral.py
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
1 parent c416077 commit b9c7af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/_spectral.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def spectral_clustering(affinity, *, n_clusters=8, n_components=None,
272272
random_state=random_state,
273273
eigen_tol=eigen_tol, drop_first=False)
274274
if verbose:
275-
print('Computing label assignment using %s' % assign_labels)
275+
print(f'Computing label assignment using {assign_labels}')
276276

277277
if assign_labels == 'kmeans':
278278
_, labels, _ = k_means(maps, n_clusters, random_state=random_state,

0 commit comments

Comments
 (0)
0