public interface DensityBasedClusterer extends Clusterer
| Modifier and Type | Method and Description | 
|---|---|
| double[] | clusterPriors()Returns the prior probability of each cluster. | 
| double[] | distributionForInstance(Instance instance)Returns the cluster probability distribution for an instance. | 
| double | logDensityForInstance(Instance instance)Computes the density for a given instance. | 
| double[] | logDensityPerClusterForInstance(Instance instance)Computes the log of the conditional density (per cluster) for a given
 instance. | 
| double[] | logJointDensitiesForInstance(Instance inst)Returns the logs of the joint densities for a given instance. | 
buildClusterer, clusterInstance, getCapabilities, numberOfClustersdouble[] clusterPriors()
                throws java.lang.Exception
java.lang.Exception - if priors could not be returned successfullydouble[] logDensityPerClusterForInstance(Instance instance) throws java.lang.Exception
instance - the instance to compute the density forjava.lang.Exception - if the density could not be computed successfullydouble logDensityForInstance(Instance instance) throws java.lang.Exception
instance - the instance to compute the density forjava.lang.Exception - if the density could not be computed successfullydouble[] logJointDensitiesForInstance(Instance inst) throws java.lang.Exception
inst - the instancejava.lang.Exception - if values could not be computeddouble[] distributionForInstance(Instance instance) throws java.lang.Exception
distributionForInstance in interface Clustererinstance - the instance to be clusteredjava.lang.Exception - if computation fails