public class KMeansExchangeAlg extends Object
Based on Jama Matrix class package, "JAMA: A Java Matrix Package" is used.
See: http://math.nist.gov/javanumerics/jama
Constructor and Description |
---|
KMeansExchangeAlg(DataHolder data) |
Modifier and Type | Method and Description |
---|---|
DataHolder |
getCenters()
Returns cluster centers
|
int |
getClusters()
Get number of clusters.
|
double |
getCompactness()
This method returns the Compactness and Separation measure of cluster
validity (see Fuzzy Algorithms With Applications to Image Processing and
Pattern Recognition, Zheru Chi, Hong Yan, Tuan Pham, World Scientific,
pp.
|
int |
getError() |
String |
getName() |
int[] |
getNumberPoints()
Returns the number of points in each cluster
|
DataHolder |
getSeedHolder()
Returns seed centers
|
void |
run() |
void |
runBest() |
void |
setClusters(int Nclu) |
void |
setEpochMax(int N) |
public final double MAXVAL
public final double R
public KMeansExchangeAlg(DataHolder data)
public void setEpochMax(int N)
public int getError()
public void setClusters(int Nclu)
public int getClusters()
public DataHolder getCenters()
public DataHolder getSeedHolder()
public int[] getNumberPoints()
public double getCompactness()
public void runBest()
public void run()
public String getName()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics