O
- Object type@Reference(authors="F. Murtagh",title="A survey of recent advances in hierarchical clustering algorithms",booktitle="The Computer Journal 26(4)",url="https://doi.org/10.1093/comjnl/26.4.354",bibkey="DBLP:journals/cj/Murtagh83") @Reference(authors="D. M\u00fcllner",title="Modern hierarchical, agglomerative clustering algorithms",booktitle="arXiv preprint arXiv:1109.2378",url="https://arxiv.org/abs/1109.2378",bibkey="DBLP:journals/corr/abs-1109-2378") public class MiniMaxNNChain<O> extends AbstractDistanceBasedAlgorithm<O,PointerPrototypeHierarchyRepresentationResult> implements HierarchicalClusteringAlgorithm
Reference:
F. Murtagh
A survey of recent advances in hierarchical clustering algorithms
The Computer Journal 26(4)
D. Müllner
Modern hierarchical, agglomerative clustering algorithms
arXiv preprint arXiv:1109.2378
Modifier and Type | Class and Description |
---|---|
static class |
MiniMaxNNChain.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Class logger.
|
ALGORITHM_ID
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
MiniMaxNNChain(DistanceFunction<? super O> distanceFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
private void |
nnChainCore(MatrixParadigm mat,
DBIDArrayMIter prots,
DistanceQuery<O> dq,
PointerHierarchyRepresentationBuilder builder,
it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ModifiableDBIDs> clusters)
Uses NNChain as in "Modern hierarchical, agglomerative clustering
algorithms" by Daniel Müllner
|
PointerPrototypeHierarchyRepresentationResult |
run(Database db,
Relation<O> relation)
Run the algorithm
|
getDistanceFunction
run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
public MiniMaxNNChain(DistanceFunction<? super O> distanceFunction)
distanceFunction
- Distance functionpublic PointerPrototypeHierarchyRepresentationResult run(Database db, Relation<O> relation)
db
- Database to run onrelation
- Data relationprivate void nnChainCore(MatrixParadigm mat, DBIDArrayMIter prots, DistanceQuery<O> dq, PointerHierarchyRepresentationBuilder builder, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ModifiableDBIDs> clusters)
mat
- distance matrixprots
- computed prototypesdq
- distance query of the data setbuilder
- Result builderclusters
- current clusterspublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<PointerPrototypeHierarchyRepresentationResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<PointerPrototypeHierarchyRepresentationResult>
Copyright © 2019 ELKI Development Team. License information.