Package elki.evaluation.clustering
Class LogClusterSizes
- java.lang.Object
-
- elki.evaluation.clustering.LogClusterSizes
-
- All Implemented Interfaces:
Evaluator
,ResultProcessor
public class LogClusterSizes extends java.lang.Object implements Evaluator
This class will log simple statistics on the clusters detected, such as the cluster sizes and the number of clusters.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description LogClusterSizes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <C extends Model>
voidlogClusterSizes(Clustering<C> c)
Log the cluster sizes of a clustering.void
processNewResult(java.lang.Object result)
Process a result.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Class logger
-
PREFIX
public static final java.lang.String PREFIX
Prefix for logged statistics.
-
-
Method Detail
-
logClusterSizes
public static <C extends Model> void logClusterSizes(Clustering<C> c)
Log the cluster sizes of a clustering.- Parameters:
c
- Clustering ot analyze
-
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.
-
-