|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.cluster.AbstractSimpleClusters
Simple Interface for a collection of Clusters. Allows Display, but not manipulation of Clusters.
Field Summary | |
protected double |
score
|
Constructor Summary | |
AbstractSimpleClusters()
|
Method Summary | |
abstract 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. |
abstract Cluster |
get(int index)
Returns Cluster with index index |
abstract Iterator |
iterator()
Returns an iterator of Clusters |
Matrix |
pr_w_d()
returns the smoothed probability matrix |
double |
score(Matrix m)
Evaluates score of cluster based on an adaptation of equation (10) from Savaresi and Boley |
abstract 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 |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double score
Constructor Detail |
public AbstractSimpleClusters()
Method Detail |
public abstract Cluster get(int index)
index
get
in interface SimpleClusters
public abstract int size()
size
in interface SimpleClusters
public abstract Iterator iterator()
iterator
in interface SimpleClusters
public abstract Object clone()
clone
in interface SimpleClusters
clone
in class Object
public boolean equals(Clusters cs)
cs==this
, false otherwise
equals
in interface SimpleClusters
public String toXMLString(DataCollection dbm)
toXMLString
in interface SimpleClusters
public String toString(DataCollection dbm)
toString
in interface SimpleClusters
public double[] evaluateInterSimilarity(Array[] means)
evaluateInterSimilarity
in interface SimpleClusters
public double score(Matrix m)
score
in interface SimpleClusters
public Matrix pr_w_d()
pr_w_d
in interface SimpleClusters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |