|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Simple Interface for a collection of Clusters. Allows Display, but not manipulation of Clusters.
Method Summary | |
Object |
clone()
Returns deep copy of Clusters |
boolean |
equals(Clusters cs)
Returns true of cs==this , false otherwise |
double[] |
evaluateInterSimilarity(Array[] means)
Evaluates InterCluster Similarity. |
Cluster |
get(int index)
Returns Cluster with index index |
Iterator |
iterator()
Returns an iterator of Clusters |
Matrix |
pr_w_d()
returns matrix of smoothed probabilities P(w,d)=P(z)P(w|z)P(d|z) |
double |
score(Matrix m)
Evaluates score of Clusters |
int |
size()
Returns number of clusters |
String |
toString(DataCollection dbm)
Returns String representation of Clusters |
String |
toXMLString(DataCollection dbm)
Returns XML String representation of Clusters |
Method Detail |
public Cluster get(int index)
index
public int size()
public Iterator iterator()
public Object clone()
clone
in class Object
public boolean equals(Clusters cs)
cs==this
, false otherwise
public String toXMLString(DataCollection dbm)
public String toString(DataCollection dbm)
public double[] evaluateInterSimilarity(Array[] means)
public double score(Matrix m)
public Matrix pr_w_d()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |