public class ConvergenceCondition extends java.lang.Object implements ClusteringAlgorithmCondition, java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
ConvergenceCondition() |
protected |
ConvergenceCondition(org.nd4j.linalg.indexing.conditions.Condition varianceVariationCondition,
double pointsDistributionChangeRate) |
Modifier and Type | Method and Description |
---|---|
static ConvergenceCondition |
distributionVariationRateLessThan(double pointsDistributionChangeRate) |
boolean |
isSatisfied(IterationHistory iterationHistory) |
protected ConvergenceCondition()
protected ConvergenceCondition(org.nd4j.linalg.indexing.conditions.Condition varianceVariationCondition, double pointsDistributionChangeRate)
public static ConvergenceCondition distributionVariationRateLessThan(double pointsDistributionChangeRate)
public boolean isSatisfied(IterationHistory iterationHistory)
isSatisfied
in interface ClusteringAlgorithmCondition