de.lmu.ifi.dbs.elki.algorithm.outlier.spatial
Class CTLuRandomWalkEC<N,D extends NumberDistance<D,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<R>
      extended by de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm<N,D,OutlierResult>
          extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.CTLuRandomWalkEC<N,D>
Type Parameters:
N - Spatial Vector type
D - Distance to use
All Implemented Interfaces:
Algorithm, OutlierAlgorithm, InspectionUtilFrequentlyScanned, Parameterizable

@Title(value="Random Walk on Exhaustive Combination")
@Description(value="Spatial Outlier Detection using Random Walk on Exhaustive Combination")
@Reference(authors="X. Liu and C.-T. Lu and F. Chen",
           title="Spatial outlier detection: random walk based approaches",
           booktitle="Proc. 18th SIGSPATIAL International Conference on Advances in Geographic Information Systems, 2010",
           url="http://dx.doi.org/10.1145/1869790.1869841")
public class CTLuRandomWalkEC<N,D extends NumberDistance<D,?>>
extends AbstractDistanceBasedAlgorithm<N,D,OutlierResult>
implements OutlierAlgorithm

Spatial outlier detection based on random walks. Note: this method can only handle one-dimensional data, but could probably be easily extended to higher dimensional data by using an distance function instead of the absolute difference.

X. Liu and C.-T. Lu and F. Chen:
Spatial outlier detection: random walk based approaches,
in Proc. 18th SIGSPATIAL International Conference on Advances in Geographic Information Systems, 2010


Nested Class Summary
static class CTLuRandomWalkEC.Parameterizer<N,D extends NumberDistance<D,?>>
          Parameterization class.
 
Field Summary
private  double alpha
          Parameter alpha: Attribute difference exponent
private  double c
          Parameter c: damping factor
private  int k
          Parameter k
private static Logging logger
          Logger
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm
DISTANCE_FUNCTION_ID
 
Constructor Summary
CTLuRandomWalkEC(DistanceFunction<N,D> distanceFunction, double alpha, double c, int k)
          Constructor
 
Method Summary
 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(Relation<N> spatial, Relation<? extends NumberVector<?,?>> relation)
          Run the algorithm
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm
getDistanceFunction
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm
makeParameterDistanceFunction, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm
run
 

Field Detail

logger

private static final Logging logger
Logger


alpha

private double alpha
Parameter alpha: Attribute difference exponent


c

private double c
Parameter c: damping factor


k

private int k
Parameter k

Constructor Detail

CTLuRandomWalkEC

public CTLuRandomWalkEC(DistanceFunction<N,D> distanceFunction,
                        double alpha,
                        double c,
                        int k)
Constructor

Parameters:
distanceFunction - Distance function
alpha - Alpha parameter
c - C parameter
k - Number of neighbors
Method Detail

run

public OutlierResult run(Relation<N> spatial,
                         Relation<? extends NumberVector<?,?>> relation)
Run the algorithm

Parameters:
spatial - Spatial neighborhood relation
relation - Attribute value relation
Returns:
Outlier result

getInputTypeRestriction

public TypeInformation[] getInputTypeRestriction()
Description copied from class: AbstractAlgorithm
Get the input type restriction used for negotiating the data query.

Specified by:
getInputTypeRestriction in interface Algorithm
Specified by:
getInputTypeRestriction in class AbstractAlgorithm<OutlierResult>
Returns:
Type restriction

getLogger

protected Logging getLogger()
Description copied from class: AbstractAlgorithm
Get the (STATIC) logger for this class.

Specified by:
getLogger in class AbstractAlgorithm<OutlierResult>
Returns:
the static logger

Release 0.4.0 (2011-09-20_1324)