O
- the type of DatabaseObject the algorithm is applied on@Title(value="INFLO: Influenced Outlierness Factor") @Description(value="Ranking Outliers Using Symmetric Neigborhood Relationship") @Reference(authors="W. Jin, A. Tung, J. Han, and W. Wang", title="Ranking outliers using symmetric neighborhood relationship", booktitle="Proc. 10th Pacific-Asia conference on Advances in Knowledge Discovery and Data Mining", url="http://dx.doi.org/10.1007/11731139_68") public class INFLO<O> extends AbstractDistanceBasedAlgorithm<O,OutlierResult> implements OutlierAlgorithm
W. Jin, A. Tung, J. Han, and W. Wang
Ranking outliers using symmetric neighborhood relationship
Proc. 10th Pacific-Asia conference on Advances in Knowledge Discovery and
Data Mining, 2006.
Modifier and Type | Class and Description |
---|---|
static class |
INFLO.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private int |
k
Number of neighbors to use.
|
private static Logging |
LOG
The logger for this class.
|
private double |
m
Pruning threshold m.
|
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
INFLO(DistanceFunction<? super O> distanceFunction,
double m,
int k)
Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
computeINFLO(Relation<O> relation,
ModifiableDBIDs pruned,
WritableDataStore<ModifiableDBIDs> knns,
WritableDataStore<ModifiableDBIDs> rnns,
WritableDoubleDataStore density,
WritableDoubleDataStore inflos,
DoubleMinMax inflominmax)
Compute the final INFLO scores.
|
protected void |
computeNeighborhoods(Relation<O> relation,
KNNQuery<O> knnQuery,
ModifiableDBIDs pruned,
WritableDataStore<ModifiableDBIDs> knns,
WritableDataStore<ModifiableDBIDs> rnns,
WritableDoubleDataStore density)
Compute neighborhoods
|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected DBIDs |
getKNN(DBIDIter q,
KNNQuery<O> knnQuery,
WritableDataStore<ModifiableDBIDs> knns,
WritableDoubleDataStore density)
Get the (forward only) kNN of an object, including the query point
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
OutlierResult |
run(Database database,
Relation<O> relation)
Run the algorithm
|
getDistanceFunction
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
private double m
private int k
public INFLO(DistanceFunction<? super O> distanceFunction, double m, int k)
distanceFunction
- Distance function in usem
- m Parameterk
- k Parameterpublic OutlierResult run(Database database, Relation<O> relation)
database
- Database to processrelation
- Relation to processprotected void computeNeighborhoods(Relation<O> relation, KNNQuery<O> knnQuery, ModifiableDBIDs pruned, WritableDataStore<ModifiableDBIDs> knns, WritableDataStore<ModifiableDBIDs> rnns, WritableDoubleDataStore density)
relation
- knnQuery
- pruned
- knns
- rnns
- density
- protected void computeINFLO(Relation<O> relation, ModifiableDBIDs pruned, WritableDataStore<ModifiableDBIDs> knns, WritableDataStore<ModifiableDBIDs> rnns, WritableDoubleDataStore density, WritableDoubleDataStore inflos, DoubleMinMax inflominmax)
relation
- Data relationpruned
- Pruned objectsknns
- kNN storagernns
- reverse kNN storagedensity
- Density estimationinflos
- Inflo score storageinflominmax
- Output of minimum and maximumprotected DBIDs getKNN(DBIDIter q, KNNQuery<O> knnQuery, WritableDataStore<ModifiableDBIDs> knns, WritableDoubleDataStore density)
q
- Query pointknnQuery
- Query functionknns
- kNN storagedensity
- Density storagepublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.