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 NNChain<O> extends AGNES<O>
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 |
NNChain.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Class logger.
|
ALGORITHM_ID
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
NNChain(DistanceFunction<? super O> distanceFunction,
Linkage linkage)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static int |
findUnlinked(int pos,
int end,
DBIDArrayIter ix,
PointerHierarchyRepresentationBuilder builder)
Find an unlinked object.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
private void |
nnChainCore(MatrixParadigm mat,
PointerHierarchyRepresentationBuilder builder)
Uses NNChain as in "Modern hierarchical, agglomerative clustering
algorithms" by Daniel Müllner
|
PointerHierarchyRepresentationResult |
run(Database db,
Relation<O> relation)
Run the algorithm
|
findMerge, getInputTypeRestriction, initializeDistanceMatrix, merge, shrinkActiveSet, updateMatrix
getDistanceFunction
run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
public NNChain(DistanceFunction<? super O> distanceFunction, Linkage linkage)
distanceFunction
- Distance functionpublic PointerHierarchyRepresentationResult run(Database db, Relation<O> relation)
private void nnChainCore(MatrixParadigm mat, PointerHierarchyRepresentationBuilder builder)
mat
- Matrix viewbuilder
- Result builderpublic static int findUnlinked(int pos, int end, DBIDArrayIter ix, PointerHierarchyRepresentationBuilder builder)
pos
- Starting positionend
- End positionix
- Iterator to translate into DBIDsbuilder
- Linkage informationprotected Logging getLogger()
AbstractAlgorithm
Copyright © 2019 ELKI Development Team. License information.