public interface Clusterer
| Modifier and Type | Method and Description | 
|---|---|
| void | buildClusterer(Instances data)Generates a clusterer. | 
| int | clusterInstance(Instance instance)Classifies a given instance. | 
| double[] | distributionForInstance(Instance instance)Predicts the cluster memberships for a given instance. | 
| Capabilities | getCapabilities()Returns the Capabilities of this clusterer. | 
| int | numberOfClusters()Returns the number of clusters. | 
void buildClusterer(Instances data) throws java.lang.Exception
data - set of instances serving as training datajava.lang.Exception - if the clusterer has not been 
 generated successfullyint clusterInstance(Instance instance) throws java.lang.Exception
instance - the instance to be assigned to a clusterjava.lang.Exception - if instance could not be clustered
 successfullydouble[] distributionForInstance(Instance instance) throws java.lang.Exception
instance - the instance to be assigned a cluster.java.lang.Exception - if distribution could not be 
 computed successfullyint numberOfClusters()
              throws java.lang.Exception
java.lang.Exception - if number of clusters could not be returned
 successfullyCapabilities getCapabilities()
Capabilities