public class DeterministicAnnealing extends KMeans implements java.io.Serializable
k, size, yOUTLIER| Constructor and Description |
|---|
DeterministicAnnealing(double[][] data,
int Kmax)
Constructor.
|
DeterministicAnnealing(double[][] data,
int Kmax,
double alpha)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAlpha()
Returns the annealing parameter.
|
java.lang.String |
toString() |
centroids, distortion, lloyd, lloyd, lloyd, predictgetClusterLabel, getClusterSize, getNumClusters, seed, seedpublic DeterministicAnnealing(double[][] data,
int Kmax)
data - the input data of which each row is a sample.Kmax - the maximum number of clusters.public DeterministicAnnealing(double[][] data,
int Kmax,
double alpha)
data - the input data of which each row is a sample.Kmax - the maximum number of clusters.alpha - the temperature T is decreasing as T = T * alpha. alpha has
to be in (0, 1).