This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit ea873277c1c3e38b3ab6411b460616cd1700317a
Author: Gilles Sadowski <gillese...@gmail.com>
AuthorDate: Wed Mar 25 16:58:15 2020 +0100

    Javadoc.
---
 .../math4/ml/clustering/MiniBatchKMeansClusterer.java        | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/math4/ml/clustering/MiniBatchKMeansClusterer.java
 
b/src/main/java/org/apache/commons/math4/ml/clustering/MiniBatchKMeansClusterer.java
index 81ce54a..e131e0a 100644
--- 
a/src/main/java/org/apache/commons/math4/ml/clustering/MiniBatchKMeansClusterer.java
+++ 
b/src/main/java/org/apache/commons/math4/ml/clustering/MiniBatchKMeansClusterer.java
@@ -244,14 +244,16 @@ public class MiniBatchKMeansClusterer<T extends 
Clusterable>
         private final int batchSize;
         /** Maximum number of iterations during which no improvement is 
occuring. */
         private final int maxNoImprovementTimes;
-        /** Exponentially Weighted Average of the squared
+        /**
+         * <a href="https://en.wikipedia.org/wiki/Moving_average";>
+         * Exponentially Weighted Average</a> of the squared
          * diff to monitor the convergence while discarding
-         * minibatch-local stochastic variability:
-         * <a 
href="https://en.wikipedia.org/wiki/Moving_average";>Moving_average</a>. */
+         * minibatch-local stochastic variability.
+         */
         private double ewaInertia = Double.NaN;
-        /** Minimum value of ewaInertia during previous evaluators. */
+        /** Minimum value of {@link #ewaInertia} during iteration. */
         private double ewaInertiaMin = Double.POSITIVE_INFINITY;
-        /** Continuous ewaInertia has no improvement times. */
+        /** Number of iteration during which {@link #ewaInertia} did not 
improve. */
         private int noImprovementTimes = 0;
 
         /**

Reply via email to