O
- Input object typeR
- Output result type@Reference(authors="R. J. G. B. Campello, D. Moulavi, J. Sander", title="Density-Based Clustering Based on Hierarchical Density Estimates", booktitle="Pacific-Asia Conf. Advances in Knowledge Discovery and Data Mining (PAKDD)", url="https://doi.org/10.1007/978-3-642-37456-2_14", bibkey="DBLP:conf/pakdd/CampelloMS13") public abstract class AbstractHDBSCAN<O,R extends Result> extends AbstractDistanceBasedAlgorithm<O,R>
Reference:
R. J. G. B. Campello, D. Moulavi, J. Sander
Density-Based Clustering Based on Hierarchical Density Estimates
Pacific-Asia Conf. Advances in Knowledge Discovery and Data Mining (PAKDD)
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractHDBSCAN.HDBSCANAdapter
Class for processing the HDBSCAN G_mpts graph.
|
static class |
AbstractHDBSCAN.HeapMSTCollector
Class for collecting the minimum spanning tree edges into a heap.
|
static class |
AbstractHDBSCAN.Parameterizer<O>
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
protected int |
minPts
MinPts parameter.
|
ALGORITHM_ID
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
AbstractHDBSCAN(DistanceFunction<? super O> distanceFunction,
int minPts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected WritableDoubleDataStore |
computeCoreDists(DBIDs ids,
KNNQuery<O> knnQ,
int minPts)
Compute the core distances for all objects.
|
protected void |
convertToPointerRepresentation(ArrayDBIDs ids,
DoubleLongHeap heap,
WritableDBIDDataStore pi,
WritableDoubleDataStore lambda)
Convert spanning tree to a pointer representation.
|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
getDistanceFunction
getLogger, run
public AbstractHDBSCAN(DistanceFunction<? super O> distanceFunction, int minPts)
distanceFunction
- Distance functionminPts
- Minimum number of points for densityprotected WritableDoubleDataStore computeCoreDists(DBIDs ids, KNNQuery<O> knnQ, int minPts)
ids
- ObjectsknnQ
- kNN queryminPts
- Minimum neighborhood sizeprotected void convertToPointerRepresentation(ArrayDBIDs ids, DoubleLongHeap heap, WritableDBIDDataStore pi, WritableDoubleDataStore lambda)
ids
- IDs indexedheap
- Heappi
- Parent arraylambda
- Distance arraypublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<R extends Result>
Copyright © 2019 ELKI Development Team. License information.