V - the type of NumberVector handled by this Algorithm@Reference(authors="Elke Achtert, Christian B\u00f6hm, Hans-Peter Kriegel, Peer Kr\u00f6ger, Arthur Zimek", title="Robust, Complete, and Efficient Correlation Clustering", booktitle="Proc. 7th SIAM Int. Conf. on Data Mining (SDM\'07)", url="https://doi.org/10.1137/1.9781611972771.37", bibkey="DBLP:conf/sdm/AchtertBKKZ07") public class COPACNeighborPredicate<V extends NumberVector> extends java.lang.Object implements NeighborPredicate<COPACNeighborPredicate.COPACModel>
Reference:
 Elke Achtert, Christian Böhm, Hans-Peter Kriegel, Peer Kröger, Arthur
 Zimek
 Robust, Complete, and Efficient Correlation Clustering
 Proc. 7th SIAM Int. Conf. on Data Mining (SDM'07)
 
TODO: improve performance by allowing index support for finding neighbors and/or exploiting the data partitioning better.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
COPACNeighborPredicate.COPACModel
Model used by COPAC for core point property. 
 | 
static class  | 
COPACNeighborPredicate.Instance
Instance for a particular data set. 
 | 
static class  | 
COPACNeighborPredicate.Parameterizer<V extends NumberVector>
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected double | 
epsilonsq
Squared value of epsilon. 
 | 
private static Logging | 
LOG
The logger for this class. 
 | 
protected COPAC.Settings | 
settings
COPAC parameters 
 | 
| Constructor and Description | 
|---|
COPACNeighborPredicate(COPAC.Settings settings)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected COPACNeighborPredicate.COPACModel | 
computeLocalModel(DBIDRef id,
                 DoubleDBIDList knnneighbors,
                 Relation<V> relation)
COPAC model computation 
 | 
TypeInformation | 
getInputTypeRestriction()
Input data type restriction. 
 | 
SimpleTypeInformation<COPACNeighborPredicate.COPACModel> | 
getOutputType()
Output data type information. 
 | 
NeighborPredicate.Instance<COPACNeighborPredicate.COPACModel> | 
instantiate(Database database)
Instantiate for a database. 
 | 
COPACNeighborPredicate.Instance | 
instantiate(Database database,
           Relation<V> relation)
Full instantiation method. 
 | 
private static final Logging LOG
protected final COPAC.Settings settings
protected double epsilonsq
public COPACNeighborPredicate(COPAC.Settings settings)
settings - COPAC settingspublic NeighborPredicate.Instance<COPACNeighborPredicate.COPACModel> instantiate(Database database)
NeighborPredicateinstantiate in interface NeighborPredicate<COPACNeighborPredicate.COPACModel>database - Database to instantiate forpublic COPACNeighborPredicate.Instance instantiate(Database database, Relation<V> relation)
database - Databaserelation - Vector relationprotected COPACNeighborPredicate.COPACModel computeLocalModel(DBIDRef id, DoubleDBIDList knnneighbors, Relation<V> relation)
id - Query objectknnneighbors - k nearest neighborsrelation - Data relationpublic TypeInformation getInputTypeRestriction()
NeighborPredicategetInputTypeRestriction in interface NeighborPredicate<COPACNeighborPredicate.COPACModel>public SimpleTypeInformation<COPACNeighborPredicate.COPACModel> getOutputType()
NeighborPredicategetOutputType in interface NeighborPredicate<COPACNeighborPredicate.COPACModel>Copyright © 2019 ELKI Development Team. License information.