net.sourceforge.cilib.functions.clustering.validityindices
Class DaviesBouldinIndex
java.lang.Object
net.sourceforge.cilib.functions.Function
net.sourceforge.cilib.functions.ContinuousFunction
net.sourceforge.cilib.functions.clustering.ClusteringFitnessFunction
net.sourceforge.cilib.functions.clustering.validityindices.ScatterSeperationRatio
net.sourceforge.cilib.functions.clustering.validityindices.DaviesBouldinIndex
- All Implemented Interfaces:
- Serializable, Cloneable
public class DaviesBouldinIndex
- extends ScatterSeperationRatio
This is the Davies-Bouldin Validity Index.
Index is given in
- Author:
- Theuns Cloete
- See Also:
- Serialized Form
Methods inherited from class net.sourceforge.cilib.functions.clustering.ClusteringFitnessFunction |
calculateAverageIntraClusterDistance, calculateAverageSetDistance, calculateClusterDiameter, calculateIntraClusterDistance, calculateMaximumAverageDistance, calculateMaximumInterClusterDistance, calculateMaximumSetDistance, calculateMinimumInterClusterDistance, calculateMinimumSetDistance, calculateQuantisationError, evaluate, getMaximum, getMinimum, setClusterCenterStrategy, validateFitness, worstFitness |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DaviesBouldinIndex
public DaviesBouldinIndex()
calculateFitness
public double calculateFitness()
- Specified by:
calculateFitness
in class ClusteringFitnessFunction
calculateWithinClusterScatter
protected double calculateWithinClusterScatter(int k)
- Specified by:
calculateWithinClusterScatter
in class ScatterSeperationRatio
calculateBetweenClusterSeperation
protected double calculateBetweenClusterSeperation(int i,
int j)
- The alpha value of the distance measure should correspond to the p value of the
Davies-Bouldin Validity Index.
- Specified by:
calculateBetweenClusterSeperation
in class ScatterSeperationRatio
getClone
public DaviesBouldinIndex getClone()
- Description copied from class:
ContinuousFunction
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class ClusteringFitnessFunction
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
Copyright © 2009 CIRG. All Rights Reserved.