O - the type of objects handled by this algorithm@Title(value="LDOF: Local Distance-Based Outlier Factor") @Description(value="Local outlier detection appraoch suitable for scattered data by averaging the kNN distance over all k nearest neighbors") @Reference(authors="K. Zhang, M. Hutter, H. Jin", title="A New Local Distance-Based Outlier Detection Approach for Scattered Real-World Data", booktitle="Proc. 13th Pacific-Asia Conf. Adv. Knowledge Discovery and Data Mining (PAKDD 2009)", url="https://doi.org/10.1007/978-3-642-01307-2_84", bibkey="DBLP:conf/pakdd/ZhangHJ09") @Alias(value="de.lmu.ifi.dbs.elki.algorithm.outlier.LDOF") public class LDOF<O> extends AbstractDistanceBasedAlgorithm<O,OutlierResult> implements OutlierAlgorithm
Reference:
 K. Zhang, M. Hutter, H. Jin
 A New Local Distance-Based Outlier Detection Approach for Scattered
 Real-World Data.
 Proc. 13th Pacific-Asia Conf. Adv. Knowledge Discovery and Data Mining
 (PAKDD 2009)
| Modifier and Type | Class and Description | 
|---|---|
| static class  | LDOF.Parameterizer<O>Parameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected int | kNumber of neighbors to query. | 
| private static double | LDOF_BASELINEThe baseline for LDOF values. | 
| private static Logging | LOGThe logger for this class. | 
ALGORITHM_IDDISTANCE_FUNCTION_ID| Constructor and Description | 
|---|
| LDOF(DistanceFunction<? super O> distanceFunction,
    int k)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeInformation[] | getInputTypeRestriction()Get the input type restriction used for negotiating the data query. | 
| protected Logging | getLogger()Get the (STATIC) logger for this class. | 
| OutlierResult | run(Database database,
   Relation<O> relation)Run the algorithm | 
getDistanceFunctionrunclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
private static final double LDOF_BASELINE
protected int k
public LDOF(DistanceFunction<? super O> distanceFunction, int k)
distanceFunction - distance functionk - k Parameterpublic OutlierResult run(Database database, Relation<O> relation)
database - Database to processrelation - Relation to processpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>Copyright © 2019 ELKI Development Team. License information.