public interface Clustering
| Modifier and Type | Method and Description |
|---|---|
Cluster |
getCluster(java.lang.Object o)
Returns the cluster which is the most similar to the given parameter.
|
Cluster[] |
getClusters()
Returns all clusters of this clustering.
|
int |
getK()
The number of clusters to this clustering. k might differ from the
getClusters().length, when empty clusters (clusters with no members) are
automatically removed.
|
java.lang.Float |
getLoss()
Returns the loss of the clustering (= mean loss of all clusters).
|
java.lang.Float getLoss()
int getK()
Cluster[] getClusters()
Cluster getCluster(java.lang.Object o)
o - An element.