public abstract class AbstractDensityBasedClusterer extends AbstractClusterer implements DensityBasedClusterer
| Constructor and Description | 
|---|
| AbstractDensityBasedClusterer() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract 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. | 
| abstract 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. | 
| static DensityBasedClusterer[] | makeCopies(DensityBasedClusterer model,
          int num)Creates copies of the current clusterer. | 
buildClusterer, clusterInstance, debugTipText, doNotCheckCapabilitiesTipText, forName, getCapabilities, getDebug, getDoNotCheckCapabilities, getOptions, getRevision, listOptions, makeCopies, makeCopy, numberOfClusters, postExecution, preExecution, run, runClusterer, setDebug, setDoNotCheckCapabilities, setOptionsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildClusterer, clusterInstance, getCapabilities, numberOfClustersmakeCopypublic abstract double[] clusterPriors()
                                throws java.lang.Exception
clusterPriors in interface DensityBasedClustererjava.lang.Exception - if priors could not be 
 returned successfullypublic abstract double[] logDensityPerClusterForInstance(Instance instance) throws java.lang.Exception
logDensityPerClusterForInstance in interface DensityBasedClustererinstance - the instance to compute the density forjava.lang.Exception - if the density could not be computed
 successfullypublic double logDensityForInstance(Instance instance) throws java.lang.Exception
logDensityForInstance in interface DensityBasedClustererinstance - the instance to compute the density forjava.lang.Exception - if the density could not be computed successfullypublic double[] distributionForInstance(Instance instance) throws java.lang.Exception
distributionForInstance in interface ClustererdistributionForInstance in interface DensityBasedClustererdistributionForInstance in class AbstractClustererinstance - the instance to be clusteredjava.lang.Exception - if computation failspublic double[] logJointDensitiesForInstance(Instance inst) throws java.lang.Exception
logJointDensitiesForInstance in interface DensityBasedClustererinst - the instancejava.lang.Exception - if values could not be computedpublic static DensityBasedClusterer[] makeCopies(DensityBasedClusterer model, int num) throws java.lang.Exception
model - an example clusterer to copynum - the number of clusterer copies to create.java.lang.Exception - if an error occurs