|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjminhep.cluster.Partition
public class Partition
Interface class to all clustering algorithms. Use it for JMInHEP embeded applications
Constructor Summary | |
---|---|
Partition(DataHolder data)
|
Method Summary | |
---|---|
DataHolder |
getCenters()
Get cluster centers |
double |
getCompactness()
Get compactness of the cluster configurations |
java.lang.String |
getName()
Get name for this clustering |
int |
getNclusters()
get number of reconstructed clusters |
int[] |
getPoints()
Get number of points accosiated with clusters |
DataHolder |
getSeeds()
Get seeds |
void |
run(int Imode)
Main method to run cluster algorithm |
void |
set(int Nclusters,
double Eps,
double Fuzzines,
int Niterations)
Set parameters for clustering |
void |
setProbab(double probability)
Set probability for cluster accosiation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Partition(DataHolder data)
Method Detail |
---|
public void set(int Nclusters, double Eps, double Fuzzines, int Niterations)
Nclusters
- -
number of clustersEps
- -
precision of clusteringFuzzines
- -
fuzziness (only for cmeans algorithms, for others just dummy
constant)Niterations
- -
Max number of iterationspublic void run(int Imode)
Imode
- -
cluster mode (int). Find the correct mode from the example or
by running JMinHEP in GUI mode. After each clustering, Imode
value is shown in the status bar.public java.lang.String getName()
public double getCompactness()
public DataHolder getCenters()
public DataHolder getSeeds()
public int[] getPoints()
public void setProbab(double probability)
probability
- Active only for cmeans (and only for representative purpose)public int getNclusters()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |