Class ERiCNeighborPredicate
- java.lang.Object
-
- elki.clustering.dbscan.predicates.ERiCNeighborPredicate
-
- All Implemented Interfaces:
NeighborPredicate<DBIDs>
@Reference(authors="Elke Achtert, Christian B\u00f6hm, Hans-Peter Kriegel, Peer Kr\u00f6ger, Arthur Zimek", title="On Exploring Complex Relationships of Correlation Clusters", booktitle="Proc. 19th Int. Conf. Scientific and Statistical Database Management (SSDBM 2007)", url="https://doi.org/10.1109/SSDBM.2007.21", bibkey="DBLP:conf/ssdbm/AchtertBKKZ07") public class ERiCNeighborPredicate extends java.lang.Object implements NeighborPredicate<DBIDs>
ERiC neighborhood predicate.Reference:
Elke Achtert, Christian Böhm, Hans-Peter Kriegel, Peer Kröger, Arthur Zimek
On Exploring Complex Relationships of Correlation Clusters
Proc. 19th Int. Conf. Scientific and Statistical Database Management (SSDBM 2007)TODO: improve performance by allowing index support for finding neighbors and/or exploiting the data partitioning better.
- Since:
- 0.7.0
- Author:
- Elke Achtert, Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classERiCNeighborPredicate.InstanceInstance for a particular data set.static classERiCNeighborPredicate.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description private doubledeltasqSquared delta value.private static LoggingLOGThe logger for this class.protected ERiC.SettingssettingsERiC parameters
-
Constructor Summary
Constructors Constructor Description ERiCNeighborPredicate(ERiC.Settings settings)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformationgetInputTypeRestriction()Input data type restriction.SimpleTypeInformation<DBIDs>getOutputType()Output data type information.ERiCNeighborPredicate.Instanceinstantiate(Database database)Instantiate for a database.ERiCNeighborPredicate.Instanceinstantiate(Relation<? extends NumberVector> relation)Full instantiation interface.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
The logger for this class.
-
settings
protected final ERiC.Settings settings
ERiC parameters
-
deltasq
private double deltasq
Squared delta value.
-
-
Constructor Detail
-
ERiCNeighborPredicate
public ERiCNeighborPredicate(ERiC.Settings settings)
Constructor.- Parameters:
settings- ERiC settings
-
-
Method Detail
-
instantiate
public ERiCNeighborPredicate.Instance instantiate(Database database)
Description copied from interface:NeighborPredicateInstantiate for a database.- Specified by:
instantiatein interfaceNeighborPredicate<DBIDs>- Parameters:
database- Database to instantiate for- Returns:
- Instance
-
instantiate
public ERiCNeighborPredicate.Instance instantiate(Relation<? extends NumberVector> relation)
Full instantiation interface.- Parameters:
relation- Relation- Returns:
- Instance
-
getInputTypeRestriction
public TypeInformation getInputTypeRestriction()
Description copied from interface:NeighborPredicateInput data type restriction.- Specified by:
getInputTypeRestrictionin interfaceNeighborPredicate<DBIDs>- Returns:
- Type restriction
-
getOutputType
public SimpleTypeInformation<DBIDs> getOutputType()
Description copied from interface:NeighborPredicateOutput data type information.- Specified by:
getOutputTypein interfaceNeighborPredicate<DBIDs>- Returns:
- Type information
-
-