|
||||||||||
| 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 SimpleClusterspublic abstract int size()
size in interface SimpleClusterspublic abstract Iterator iterator()
iterator in interface SimpleClusterspublic abstract Object clone()
clone in interface SimpleClustersclone in class Objectpublic boolean equals(Clusters cs)
cs==this, false otherwise
equals in interface SimpleClusterspublic String toXMLString(DataCollection dbm)
toXMLString in interface SimpleClusterspublic String toString(DataCollection dbm)
toString in interface SimpleClusterspublic double[] evaluateInterSimilarity(Array[] means)
evaluateInterSimilarity in interface SimpleClusterspublic double score(Matrix m)
score in interface SimpleClusterspublic 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 | |||||||||