aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/mllib/clustering.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyspark/mllib/clustering.py')
-rw-r--r--python/pyspark/mllib/clustering.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/mllib/clustering.py b/python/pyspark/mllib/clustering.py
index 48daa87e82..d22a7f4c3b 100644
--- a/python/pyspark/mllib/clustering.py
+++ b/python/pyspark/mllib/clustering.py
@@ -173,7 +173,7 @@ class KMeans(object):
"""Train a k-means clustering model."""
if runs != 1:
warnings.warn(
- "Support for runs is deprecated in 1.6.0. This param will have no effect in 1.7.0.")
+ "Support for runs is deprecated in 1.6.0. This param will have no effect in 2.0.0.")
clusterInitialModel = []
if initialModel is not None:
if not isinstance(initialModel, KMeansModel):