From 2e1fb9169355bda6c1503f180cb4824726daf43c Mon Sep 17 00:00:00 2001 From: RichardScottOZ <72196131+RichardScottOZ@users.noreply.github.com> Date: Sun, 7 Mar 2021 13:10:28 +1030 Subject: [PATCH] Update _kmeans.py Compatibility typo --- sklearn/cluster/_kmeans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/cluster/_kmeans.py b/sklearn/cluster/_kmeans.py index c1d889b37db2d..1c54a5c9ff9e0 100644 --- a/sklearn/cluster/_kmeans.py +++ b/sklearn/cluster/_kmeans.py @@ -264,7 +264,7 @@ def k_means(X, n_clusters, *, sample_weight=None, init='k-means++', intensive due to the allocation of an extra array of shape (n_samples, n_clusters). - For now "auto" (kept for backward compatibiliy) chooses "elkan" but it + For now "auto" (kept for backward compatibility) chooses "elkan" but it might change in the future for a better heuristic. return_n_iter : bool, default=False