O
- the type of DatabaseObjects handled by this AlgorithmD
- Distance type@Reference(authors="Erich Schubert, Arthur Zimek, Hans-Peter Kriegel", title="Local outlier detection reconsidered: a generalized view on locality with applications to spatial, video, and network outlier detection", booktitle="Data Mining and Knowledge Discovery", url="http://dx.doi.org/10.1007/s10618-012-0300-z") @Alias(value={"SimpleLOF","outlier.SimpleLOF","de.lmu.ifi.dbs.elki.algorithm.outlier.SimpleLOF"}) public class SimplifiedLOF<O,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm<O,D,OutlierResult> implements OutlierAlgorithm
Erich Schubert, Arthur Zimek, Hans-Peter Kriegel
Local outlier detection reconsidered: a generalized view on locality with
applications to spatial, video, and network outlier detection
In: Data Mining and Knowledge Discovery
Modifier and Type | Class and Description |
---|---|
static class |
SimplifiedLOF.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected int |
k
Parameter k.
|
private static Logging |
LOG
The logger for this class.
|
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
SimplifiedLOF(int k,
DistanceFunction<? super O,D> distance)
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 Simple LOF algorithm.
|
getDistanceFunction
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
protected int k
public SimplifiedLOF(int k, DistanceFunction<? super O,D> distance)
k
- the value of kpublic OutlierResult run(Database database, Relation<O> relation)
database
- Database to queryrelation
- Data to processpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>