|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for Clustering Methods. All Clustering Methods must implement this interface.
Method Summary | |
SimpleClusters |
cluster(DataCollection data,
int num_clusters)
Performs clustering algorithm, and populates Clusters |
SimpleClusters |
cluster(DataCollection data,
int num_clusters,
String filename)
Performs clustering algorithm, and prints clusters to file |
double |
evaluate(DataCollection data,
int num_clusters)
Performs clustering algorithm and returns the score of the resulting clusters. |
double |
evaluate(DataCollection data,
int num_clusters,
String filename)
Performs clustering algorithm, prints resulting clusters to file, and returns the score of the clusters. |
String |
toString()
Returns String representation of Clustering Method, including clusters returned by clustering method |
String |
toXMLString()
Returns XML String representation of Clustering Method, including clusters returned by clustering method |
Method Detail |
public SimpleClusters cluster(DataCollection data, int num_clusters)
public SimpleClusters cluster(DataCollection data, int num_clusters, String filename)
public double evaluate(DataCollection data, int num_clusters)
public double evaluate(DataCollection data, int num_clusters, String filename)
public String toXMLString()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |