8000 DOC fix typo in KMeans docstring (#25189) · scikit-learn/scikit-learn@49ff2d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 49ff2d9

Browse files
authored
DOC fix typo in KMeans docstring (#25189)
1 parent 53a1609 commit 49ff2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/_kmeans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ class KMeans(_BaseKMeans):
11781178
an empirical probability distribution of the points' contribution to the
11791179
overall inertia. This technique speeds up convergence. The algorithm
11801180
implemented is "greedy k-means++". It differs from the vanilla k-means++
1181-
by making several trials at each sampling step and choosing the bestcentroid
1181+
by making several trials at each sampling step and choosing the best centroid
11821182
among them.
11831183
11841184
'random': choose `n_clusters` observations (rows) at random from data

0 commit comments

Comments
 (0)
0