Skip to content

Commit c20a309

Browse files
authored
DOC fix a typo in _kmeans.py (#19398)
1 parent 9433799 commit c20a309

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
@@ -729,7 +729,7 @@ class KMeans(TransformerMixin, ClusterMixin, BaseEstimator):
729729
-----
730730
The k-means problem is solved using either Lloyd's or Elkan's algorithm.
731731
732-
The average complexity is given by O(k n T), were n is the number of
732+
The average complexity is given by O(k n T), where n is the number of
733733
samples and T is the number of iteration.
734734
735735
The worst case complexity is given by O(n^(k+2/p)) with

0 commit comments

Comments
 (0)