Skip to content

Commit fef6202

Browse files
DOC Fix typo: "outiers" → "outliers" in K-Means comments (scikit-learn#30915)
1 parent 5eb676a commit fef6202

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sklearn/cluster/_k_means_elkan.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def elkan_iter_chunked_dense(
262262
# An empty array was passed, do nothing and return early (before
263263
# attempting to compute n_chunks). This can typically happen when
264264
# calling the prediction function of a bisecting k-means model with a
265-
# large fraction of outiers.
265+
# large fraction of outliers.
266266
return
267267

268268
cdef:
@@ -505,7 +505,7 @@ def elkan_iter_chunked_sparse(
505505
# An empty array was passed, do nothing and return early (before
506506
# attempting to compute n_chunks). This can typically happen when
507507
# calling the prediction function of a bisecting k-means model with a
508-
# large fraction of outiers.
508+
# large fraction of outliers.
509509
return
510510

511511
cdef:

sklearn/cluster/_k_means_lloyd.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def lloyd_iter_chunked_dense(
8282
# An empty array was passed, do nothing and return early (before
8383
# attempting to compute n_chunks). This can typically happen when
8484
# calling the prediction function of a bisecting k-means model with a
85-
# large fraction of outiers.
85+
# large fraction of outliers.
8686
return
8787

8888
cdef:
@@ -280,7 +280,7 @@ def lloyd_iter_chunked_sparse(
280280
# An empty array was passed, do nothing and return early (before
281281
# attempting to compute n_chunks). This can typically happen when
282282
# calling the prediction function of a bisecting k-means model with a
283-
# large fraction of outiers.
283+
# large fraction of outliers.
284284
return
285285

286286
cdef:

0 commit comments

Comments
 (0)