public interface DensityBasedClusterer extends Clusterer
| Modifier and Type | Method and Description |
|---|---|
double[] |
clusterPriors()
Returns the prior probability of each cluster.
|
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, distributionForInstance, getCapabilities, numberOfClustersdouble[] clusterPriors()
throws Exception
Exception - if priors could not be
returned successfullydouble[] logDensityPerClusterForInstance(Instance instance) throws Exception
instance - the instance to compute the density forException - if the density could not be computed
successfullydouble logDensityForInstance(Instance instance) throws Exception
instance - the instance to compute the density forException - if the density could not be computed successfullyCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.