O - the type of objects handled by this algorithm@Alias(value="de.lmu.ifi.dbs.elki.algorithm.outlier.SimpleKernelDensityLOF") public class SimpleKernelDensityLOF<O extends NumberVector> extends AbstractDistanceBasedAlgorithm<O,OutlierResult> implements OutlierAlgorithm
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SimpleKernelDensityLOF.Parameterizer<O extends NumberVector>
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
k
Parameter k. 
 | 
private KernelDensityFunction | 
kernel
Kernel density function 
 | 
private static Logging | 
LOG
The logger for this class. 
 | 
ALGORITHM_IDDISTANCE_FUNCTION_ID| Constructor and Description | 
|---|
SimpleKernelDensityLOF(int k,
                      DistanceFunction<? super O> distance,
                      KernelDensityFunction kernel)
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 naive kernel density LOF algorithm. 
 | 
getDistanceFunctionrunclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
protected int k
private KernelDensityFunction kernel
public SimpleKernelDensityLOF(int k,
                              DistanceFunction<? super O> distance,
                              KernelDensityFunction kernel)
k - the value of kkernel - Kernel functionpublic OutlierResult run(Database database, Relation<O> relation)
database - Database to queryrelation - Data 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.