MATH-1509: Add missing documentation to class ImprovementEvaluator

This commit is contained in:
CT 2020-03-25 22:43:06 +08:00
parent 6b0395898e
commit 01227337f8
1 changed files with 6 additions and 3 deletions

View File

@ -244,11 +244,14 @@ public class MiniBatchKMeansClusterer<T extends Clusterable>
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:
* <a href="https://en.wikipedia.org/wiki/Moving_average">Moving_average</a>. */
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;
/**