O
- Database object typeD
- Distance type@Title(value="Distance based outlier score") @Description(value="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="Procs Int. Conf. on Very Large Databases (VLDB\'98), New York, USA, 1998") public class DBOutlierScore<O,D extends Distance<D>> extends AbstractDBOutlier<O,D>
Modifier and Type | Class and Description |
---|---|
static class |
DBOutlierScore.Parameterizer<O,D extends Distance<D>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger for this class.
|
D_ID
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
DBOutlierScore(DistanceFunction<O,D> distanceFunction,
D d)
Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
protected DoubleDataStore |
computeOutlierScores(Database database,
Relation<O> relation,
D d)
computes an outlier score for each object of the database.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
getInputTypeRestriction, run
getDistanceFunction
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
public DBOutlierScore(DistanceFunction<O,D> distanceFunction, D d)
distanceFunction
- Distance functiond
- distance radius parameterprotected DoubleDataStore computeOutlierScores(Database database, Relation<O> relation, D d)
AbstractDBOutlier
computeOutlierScores
in class AbstractDBOutlier<O,D extends Distance<D>>
database
- Databaserelation
- Relationd
- distanceprotected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>