Class PBMIndex
- java.lang.Object
-
- elki.evaluation.clustering.internal.PBMIndex
-
- All Implemented Interfaces:
Evaluator
,ResultProcessor
@Reference(authors="M. K. Pakhira, S. Bandyopadhyay, U. Maulik", title="Validity index for crisp and fuzzy clusters", booktitle="Pattern recognition, 37(3)", url="https://doi.org/10.1016/j.patcog.2003.06.005", bibkey="DBLP:journals/pr/PakhiraBM04") public class PBMIndex extends java.lang.Object implements Evaluator
Compute the PBM index of a clusteringReference:
M. K. Pakhira, S. Bandyopadhyay, U. Maulik
Validity index for crisp and fuzzy clusters
Pattern recognition, 37(3)- Since:
- 0.7.0
- Author:
- Stephan Baier, Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PBMIndex.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private NumberVectorDistance<?>
distance
Distance function to use.private java.lang.String
key
Key for logging statistics.private static Logging
LOG
Logger for debug output.private NoiseHandling
noiseHandling
Option for noise handling.
-
Constructor Summary
Constructors Constructor Description PBMIndex(NumberVectorDistance<?> distance, NoiseHandling noiseOpt)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
evaluateClustering(Relation<? extends NumberVector> rel, Clustering<?> c)
Evaluate a single clustering.void
processNewResult(java.lang.Object result)
Process a result.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Logger for debug output.
-
noiseHandling
private NoiseHandling noiseHandling
Option for noise handling.
-
distance
private NumberVectorDistance<?> distance
Distance function to use.
-
key
private java.lang.String key
Key for logging statistics.
-
-
Constructor Detail
-
PBMIndex
public PBMIndex(NumberVectorDistance<?> distance, NoiseHandling noiseOpt)
Constructor.- Parameters:
distance
- Distance functionnoiseOpt
- Flag to control noise handling
-
-
Method Detail
-
evaluateClustering
public double evaluateClustering(Relation<? extends NumberVector> rel, Clustering<?> c)
Evaluate a single clustering.- Parameters:
rel
- Data relationc
- Clustering- Returns:
- PBM
-
processNewResult
public void processNewResult(java.lang.Object result)
Description copied from interface:ResultProcessor
Process a result.- Specified by:
processNewResult
in interfaceResultProcessor
- Parameters:
result
- Newly added result subtree.
-
-