From 4fa409b4db8c8c995b2beb27c302c1d3673be9c4 Mon Sep 17 00:00:00 2001 From: Yu ISHIKAWA Date: Thu, 16 Jul 2015 09:37:21 +0900 Subject: [PATCH] Add a comment about the default value of epsilon --- .../src/main/scala/org/apache/spark/ml/clustering/KMeans.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mllib/src/main/scala/org/apache/spark/ml/clustering/KMeans.scala b/mllib/src/main/scala/org/apache/spark/ml/clustering/KMeans.scala index 3c0613423b7c0..bacf52c9f8208 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/clustering/KMeans.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/clustering/KMeans.scala @@ -59,7 +59,7 @@ private[clustering] trait KMeansParams /** * Param the distance threshold within which we've consider centers to have converged. - * If all centers move less than this Euclidean distance, we stop iterating one run. + * If all centers move less than this Euclidean distance, we stop iterating one run. Default: 1e-4 * @group param */ final val epsilon = new DoubleParam(this, "epsilon", "distance threshold")