From ea873277c1c3e38b3ab6411b460616cd1700317a Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Wed, 25 Mar 2020 16:58:15 +0100 Subject: [PATCH] Javadoc. --- .../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 81ce54a4f..e131e0a4d 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 private final int batchSize; /** Maximum number of iterations during which no improvement is occuring. */ private final int maxNoImprovementTimes; - /** Exponentially Weighted Average of the squared + /** + * + * Exponentially Weighted Average of the squared * diff to monitor the convergence while discarding - * minibatch-local stochastic variability: - * Moving_average. */ + * 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; /**