Package org.ddogleg.clustering
Class ConfigKMeans
java.lang.Object
org.ddogleg.clustering.ConfigKMeans
Configuration for K-Means clustering
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Change in distance criteria when testing for convergenceWhich initialization algorithmint
Maximum number of iterations, across all seeds combinedint
Maximum number of times it will reseed before stopping.int
If it doesn't converge within this many iterations a new seed is created -
Constructor Summary
-
Method Summary
-
Field Details
-
initializer
Which initialization algorithm -
maxIterations
public int maxIterationsMaximum number of iterations, across all seeds combined -
reseedAfterIterations
public int reseedAfterIterationsIf it doesn't converge within this many iterations a new seed is created -
maxReSeed
public int maxReSeedMaximum number of times it will reseed before stopping. If %le; then there is no limit. -
convergeTol
public double convergeTolChange in distance criteria when testing for convergence
-
-
Constructor Details
-
ConfigKMeans
public ConfigKMeans()
-
-
Method Details
-
setTo
-
checkValidity
public void checkValidity()
-