V
- the type of NumberVector handled by the algorithm@Title(value="Finding Hierarchies of Subspace Clusters") @Description(value="Algorithm for detecting hierarchies of subspace clusters.") @Reference(authors="E. Achtert, C. B\u00f6hm, H.-P. Kriegel, P. Kr\u00f6ger, I. M\u00fcller-Gorman, A. Zimek", title="Finding Hierarchies of Subspace Clusters", booktitle="Proc. 10th Europ. Conf. on Principles and Practice of Knowledge Discovery in Databases (PKDD\'06), Berlin, Germany, 2006", url="http://www.dbs.ifi.lmu.de/Publikationen/Papers/PKDD06-HiSC.pdf") public class HiSC<V extends NumberVector> extends GeneralizedOPTICS<V,HiSC.HiSCClusterOrderEntry>
Reference: E. Achtert, C. Böhm, H.-P. Kriegel, P. Kröger, I. Müller-Gorman,
A. Zimek: Finding Hierarchies of Subspace Clusters.
In: Proc. 10th Europ. Conf. on Principles and Practice of Knowledge Discovery
in Databases (PKDD'06), Berlin, Germany, 2006.
Modifier and Type | Class and Description |
---|---|
static class |
HiSC.HiSCClusterOrderEntry
Cluster order entry for HiSC.
|
static class |
HiSC.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private double |
alpha
Holds the maximum diversion allowed.
|
private HiSCPreferenceVectorIndex<NumberVector> |
index
Instantiated index.
|
private IndexFactory<V,HiSCPreferenceVectorIndex<NumberVector>> |
indexfactory
Factory to produce
|
private static Logging |
LOG
The logger for this class.
|
private Relation<V> |
relation
Relation we are currently processing.
|
MINPTS_ID
Constructor and Description |
---|
HiSC(IndexFactory<V,HiSCPreferenceVectorIndex<NumberVector>> indexfactory,
double epsilon)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<? super HiSC.HiSCClusterOrderEntry> |
getEntryType()
Get the entry type.
|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
protected Collection<HiSC.HiSCClusterOrderEntry> |
getNeighborsForDBID(Relation<V> relation,
DBID id)
Compute the neighbors for the given DBID.
|
protected HiSC.HiSCClusterOrderEntry |
makeSeedEntry(Relation<V> relation,
DBID objectID)
Create the initial element to seed the algorithm.
|
ClusterOrderResult<HiSC.HiSCClusterOrderEntry> |
run(Relation<V> relation)
Run OPTICS on the database.
|
double |
weightedDistance(V v1,
V v2,
long[] weightVector)
Computes the weighted distance between the two specified vectors according
to the given preference vector.
|
expandClusterOrder, getMinPts
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
private IndexFactory<V extends NumberVector,HiSCPreferenceVectorIndex<NumberVector>> indexfactory
private HiSCPreferenceVectorIndex<NumberVector> index
private Relation<V extends NumberVector> relation
private double alpha
public HiSC(IndexFactory<V,HiSCPreferenceVectorIndex<NumberVector>> indexfactory, double epsilon)
indexfactory
- HiSC index factorypublic ClusterOrderResult<HiSC.HiSCClusterOrderEntry> run(Relation<V> relation)
GeneralizedOPTICS
run
in class GeneralizedOPTICS<V extends NumberVector,HiSC.HiSCClusterOrderEntry>
relation
- Relationprotected HiSC.HiSCClusterOrderEntry makeSeedEntry(Relation<V> relation, DBID objectID)
GeneralizedOPTICS
makeSeedEntry
in class GeneralizedOPTICS<V extends NumberVector,HiSC.HiSCClusterOrderEntry>
relation
- Data relationobjectID
- Object IDprotected Collection<HiSC.HiSCClusterOrderEntry> getNeighborsForDBID(Relation<V> relation, DBID id)
GeneralizedOPTICS
getNeighborsForDBID
in class GeneralizedOPTICS<V extends NumberVector,HiSC.HiSCClusterOrderEntry>
relation
- Data relationid
- Current object IDpublic double weightedDistance(V v1, V v2, long[] weightVector)
v1
- the first vectorv2
- the second vectorweightVector
- the preference vectorpublic Class<? super HiSC.HiSCClusterOrderEntry> getEntryType()
OPTICSTypeAlgorithm
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<ClusterOrderResult<HiSC.HiSCClusterOrderEntry>>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<ClusterOrderResult<HiSC.HiSCClusterOrderEntry>>
Copyright © 2014 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.