O
- Object type@Reference(authors="P. J. Rousseeuw", title="Silhouettes: A graphical aid to the interpretation and validation of cluster analysis", booktitle="Journal of Computational and Applied Mathematics, Volume 20", url="http://dx.doi.org/10.1016%2F0377-0427%2887%2990125-7") public class EvaluateSilhouette<O> extends Object implements Evaluator
P. J. Rousseeuw
Silhouettes: A graphical aid to the interpretation and validation of cluster
analysis
In: Journal of Computational and Applied Mathematics Volume 20, November 1987
Modifier and Type | Class and Description |
---|---|
static class |
EvaluateSilhouette.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<? super O> |
distance
Distance function to use.
|
private String |
key
Key for logging statistics.
|
private static Logging |
LOG
Logger for debug output.
|
private boolean |
mergenoise
Keep noise "clusters" merged, instead of breaking them into singletons.
|
Constructor and Description |
---|
EvaluateSilhouette(DistanceFunction<? super O> distance,
boolean mergenoise)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluateClustering(Database db,
Relation<O> rel,
DistanceQuery<O> dq,
Clustering<?> c)
Evaluate a single clustering.
|
void |
processNewResult(HierarchicalResult baseResult,
Result result)
Process a result.
|
private static final Logging LOG
private boolean mergenoise
private DistanceFunction<? super O> distance
private String key
public EvaluateSilhouette(DistanceFunction<? super O> distance, boolean mergenoise)
distance
- Distance functionmergenoise
- Flag to treat noise as clusters, instead of breaking them
into singletons.public void evaluateClustering(Database db, Relation<O> rel, DistanceQuery<O> dq, Clustering<?> c)
db
- Databaserel
- Data relationdq
- Distance queryc
- Clusteringpublic void processNewResult(HierarchicalResult baseResult, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
baseResult
- The base of the result tree.result
- Newly added result subtree.Copyright © 2014 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.