V - vector datatype@Reference(authors="A. P. Reynolds, G. Richards, B. de la Iglesia, V. J. Rayward-Smith", title="Clustering Rules: A Comparison of Partitioning and Hierarchical Clustering Algorithms", booktitle="J. Math. Model. Algorithms 5(4)", url="https://doi.org/10.1007/s10852-005-9022-1", bibkey="DBLP:journals/jmma/ReynoldsRIR06") public class KMedoidsPAMReynolds<V> extends KMedoidsPAM<V>
In our implementation, we could not observe a substantial improvement over the original PAM algorithm. This may be because of modern CPU architectures, where saving an addition may be neglibile compared to caching and pipelining.
Reference:
 A. P. Reynolds, G. Richards, B. de la Iglesia, V. J. Rayward-Smith
 Clustering Rules: A Comparison of Partitioning and Hierarchical Clustering
 Algorithms
 J. Math. Model. Algorithms 5(4)
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | KMedoidsPAMReynolds.InstanceInstance for a single dataset. | 
| static class  | KMedoidsPAMReynolds.Parameterizer<V>Parameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static java.lang.String | KEYKey for statistics logging. | 
| private static Logging | LOGThe logger for this class. | 
initializer, k, maxiterALGORITHM_IDDISTANCE_FUNCTION_ID| Constructor and Description | 
|---|
| KMedoidsPAMReynolds(DistanceFunction<? super V> distanceFunction,
                   int k,
                   int maxiter,
                   KMedoidsInitialization<V> initializer)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Logging | getLogger()Get the (STATIC) logger for this class. | 
| protected void | run(DistanceQuery<V> distQ,
   DBIDs ids,
   ArrayModifiableDBIDs medoids,
   WritableIntegerDataStore assignment)Run the main algorithm. | 
getInputTypeRestriction, initialMedoids, rungetDistanceFunctionrunclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
private static final java.lang.String KEY
public KMedoidsPAMReynolds(DistanceFunction<? super V> distanceFunction, int k, int maxiter, KMedoidsInitialization<V> initializer)
distanceFunction - distance functionk - k parametermaxiter - Maxiter parameterinitializer - Function to generate the initial meansprotected void run(DistanceQuery<V> distQ, DBIDs ids, ArrayModifiableDBIDs medoids, WritableIntegerDataStore assignment)
KMedoidsPAMrun in class KMedoidsPAM<V>distQ - Distance queryids - IDs to processmedoids - Current medoidsassignment - Cluster assignment outputprotected Logging getLogger()
AbstractAlgorithmgetLogger in class KMedoidsPAM<V>Copyright © 2019 ELKI Development Team. License information.