Package elki.outlier.distance
Class DBOutlierScore<O>
- java.lang.Object
-
- elki.outlier.distance.AbstractDBOutlier<O>
-
- elki.outlier.distance.DBOutlierScore<O>
-
- Type Parameters:
O- Database object type
- All Implemented Interfaces:
elki.Algorithm,OutlierAlgorithm
@Title("Distance Based Outlier Score") @Description("Generalization of the original DB-Outlier approach to a ranking method, by turning the fraction parameter into the output value.") @Reference(prefix="Generalization of a method proposed in", authors="E. M. Knorr, R. T. Ng", title="Algorithms for Mining Distance-Based Outliers in Large Datasets", booktitle="Proc. Int. Conf. on Very Large Databases (VLDB\'98)", url="http://www.vldb.org/conf/1998/p392.pdf", bibkey="DBLP:conf/vldb/KnorrN98") public class DBOutlierScore<O> extends AbstractDBOutlier<O>Compute percentage of neighbors in the given neighborhood with size d.Generalization of the DB Outlier Detection by using the fraction as outlier score thus eliminating this parameter and turning the method into a ranking method instead of a labelling one.
Reference:
E.M. Knorr, R. T. Ng:
Algorithms for Mining Distance-Based Outliers in Large Datasets,
In: Proc. Int. Conf. on Very Large Databases (VLDB'98)- Since:
- 0.3
- Author:
- Lisa Reichert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDBOutlierScore.Par<O>Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private static elki.logging.LoggingLOGThe logger for this class.-
Fields inherited from class elki.outlier.distance.AbstractDBOutlier
d, distance
-
-
Constructor Summary
Constructors Constructor Description DBOutlierScore(elki.distance.Distance<? super O> distance, double d)Constructor with parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected elki.database.datastore.DoubleDataStorecomputeOutlierScores(elki.database.relation.Relation<O> relation, double d)computes an outlier score for each object of the database.-
Methods inherited from class elki.outlier.distance.AbstractDBOutlier
getInputTypeRestriction, run
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.outlier.OutlierAlgorithm
autorun
-
-
-
-
Constructor Detail
-
DBOutlierScore
public DBOutlierScore(elki.distance.Distance<? super O> distance, double d)
Constructor with parameters.- Parameters:
distance- Distance functiond- distance radius parameter
-
-
Method Detail
-
computeOutlierScores
protected elki.database.datastore.DoubleDataStore computeOutlierScores(elki.database.relation.Relation<O> relation, double d)
Description copied from class:AbstractDBOutliercomputes an outlier score for each object of the database.- Specified by:
computeOutlierScoresin classAbstractDBOutlier<O>- Parameters:
relation- Relationd- distance- Returns:
- computed scores
-
-