@Reference(authors="D. L. Davies and D. W. Bouldin", title="A Cluster Separation Measure", booktitle="IEEE Transactions Pattern Analysis and Machine Intelligence PAMI-1(2)", url="http://dx.doi.org/10.1109/TPAMI.1979.4766909") public class EvaluateDaviesBouldin extends Object implements Evaluator
D. L. Davies and D. W. Bouldin
A Cluster Separation Measure
In: IEEE Transactions Pattern Analysis and Machine Intelligence PAMI-1(2)
Modifier and Type | Class and Description |
---|---|
static class |
EvaluateDaviesBouldin.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private NumberVectorDistanceFunction<?> |
distanceFunction
Distance function to use.
|
private String |
key
Key for logging statistics.
|
private static Logging |
LOG
Logger for debug output.
|
private NoiseHandling |
noiseOption
Option for noise handling.
|
Constructor and Description |
---|
EvaluateDaviesBouldin(NumberVectorDistanceFunction<?> distance,
NoiseHandling noiseOpt)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
evaluateClustering(Database db,
Relation<? extends NumberVector> rel,
Clustering<?> c)
Evaluate a single clustering.
|
void |
processNewResult(ResultHierarchy hier,
Result result)
Process a result.
|
double[] |
withinGroupDistances(Relation<? extends NumberVector> rel,
List<? extends Cluster<?>> clusters,
NumberVector[] centroids) |
private static final Logging LOG
private NoiseHandling noiseOption
private NumberVectorDistanceFunction<?> distanceFunction
private String key
public EvaluateDaviesBouldin(NumberVectorDistanceFunction<?> distance, NoiseHandling noiseOpt)
distance
- Distance functionnoiseOpt
- Flag to control noise handlingpublic double evaluateClustering(Database db, Relation<? extends NumberVector> rel, Clustering<?> c)
db
- Databaserel
- Data relationc
- Clusteringpublic double[] withinGroupDistances(Relation<? extends NumberVector> rel, List<? extends Cluster<?>> clusters, NumberVector[] centroids)
public void processNewResult(ResultHierarchy hier, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
hier
- The base of the result tree.result
- Newly added result subtree.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.