|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<R> de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm<O,D,OutlierResult> de.lmu.ifi.dbs.elki.algorithm.outlier.AbstractDBOutlier<O,D>
O
- the type of DatabaseObjects handled by this AlgorithmD
- the type of Distance used by this Algorithmpublic abstract class AbstractDBOutlier<O,D extends Distance<D>>
Simple distance based outlier detection algorithms.
Reference: E.M. Knorr, R. T. Ng: Algorithms for Mining Distance-Based Outliers in Large Datasets, In: Procs Int. Conf. on Very Large Databases (VLDB'98), New York, USA, 1998.
Nested Class Summary | |
---|---|
static class |
AbstractDBOutlier.Parameterizer<O,D extends Distance<D>>
Parameterization class. |
Field Summary | |
---|---|
private D |
d
Holds the value of D_ID . |
static OptionID |
D_ID
Parameter to specify the size of the D-neighborhood |
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm |
---|
DISTANCE_FUNCTION_ID |
Constructor Summary | |
---|---|
AbstractDBOutlier(DistanceFunction<? super O,D> distanceFunction,
D d)
Constructor with actual parameters. |
Method Summary | |
---|---|
protected abstract DataStore<Double> |
computeOutlierScores(Database database,
DistanceQuery<O,D> distFunc,
D d)
computes an outlier score for each object of the database. |
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query. |
OutlierResult |
run(Database database,
Relation<O> relation)
Runs the algorithm in the timed evaluation part. |
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm |
---|
getDistanceFunction |
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm |
---|
getLogger, makeParameterDistanceFunction, run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm |
---|
run |
Field Detail |
---|
public static final OptionID D_ID
private D extends Distance<D> d
D_ID
.
Constructor Detail |
---|
public AbstractDBOutlier(DistanceFunction<? super O,D> distanceFunction, D d)
distanceFunction
- distance function to used
- d valueMethod Detail |
---|
public OutlierResult run(Database database, Relation<O> relation) throws IllegalStateException
IllegalStateException
protected abstract DataStore<Double> computeOutlierScores(Database database, DistanceQuery<O,D> distFunc, D d)
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |