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 701392b74..81ce54a4f 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,11 +244,14 @@ public class MiniBatchKMeansClusterer private final int batchSize; /** Maximum number of iterations during which no improvement is occuring. */ private final int maxNoImprovementTimes; - /** Missing doc. */ + /** Exponentially Weighted Average of the squared + * diff to monitor the convergence while discarding + * minibatch-local stochastic variability: + * Moving_average. */ private double ewaInertia = Double.NaN; - /** Missing doc. */ + /** Minimum value of ewaInertia during previous evaluators. */ private double ewaInertiaMin = Double.POSITIVE_INFINITY; - /** Missing doc. */ + /** Continuous ewaInertia has no improvement times. */ private int noImprovementTimes = 0; /**