public class DeterministicAnnealing extends KMeans
OUTLIER| 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.
|
String |
toString() |
centroids, distortion, lloyd, lloyd, lloyd, predictgetClusterLabel, getClusterSize, getNumClusterspublic 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).Copyright © 2015. All rights reserved.