Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.outlier
Class LOCI<O extends DatabaseObject,D extends NumberDistance<D,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<O,R>
          extended by de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm<O,D,OutlierResult>
              extended by de.lmu.ifi.dbs.elki.algorithm.outlier.LOCI<O,D>
Type Parameters:
O - Object type
D - Distance type
All Implemented Interfaces:
Algorithm<O,OutlierResult>, Parameterizable

@Title(value="LOCI: Fast Outlier Detection Using the Local Correlation Integral")
@Description(value="Algorithm to compute outliers based on the Local Correlation Integral")
@Reference(authors="S. Papadimitriou, H. Kitagawa, P. B. Gibbons, C. Faloutsos",
           title="LOCI: Fast Outlier Detection Using the Local Correlation Integral",
           booktitle="Proc. 19th IEEE Int. Conf. on Data Engineering (ICDE \'03), Bangalore, India, 2003",
           url="http://dx.doi.org/10.1109/ICDE.2003.1260802")
public class LOCI<O extends DatabaseObject,D extends NumberDistance<D,?>>
extends DistanceBasedAlgorithm<O,D,OutlierResult>

Fast Outlier Detection Using the "Local Correlation Integral". Exact implementation only, not aLOCI. Outlier detection using multiple epsilon neighborhoods. Based on: S. Papadimitriou, H. Kitagawa, P. B. Gibbons and C. Faloutsos: LOCI: Fast Outlier Detection Using the Local Correlation Integral. In: Proc. 19th IEEE Int. Conf. on Data Engineering (ICDE '03), Bangalore, India, 2003.

Author:
Erich Schubert

Field Summary
private  double alpha
          Holds the value of ALPHA_PARAM.
static OptionID ALPHA_ID
          OptionID for ALPHA_PARAM
private  DoubleParameter ALPHA_PARAM
          Parameter to specify the averaging neighborhood scaling Key: -loci.alpha Default: 0.5
static AssociationID<Double> LOCI_MDEF_CRITICAL_RADIUS
          The LOCI MDEF / SigmaMDEF maximum values radius
static AssociationID<Double> LOCI_MDEF_NORM
          The LOCI MDEF / SigmaMDEF maximum value (normalized MDEF)
private  double nmin
          Holds the value of NMIN_PARAM.
static OptionID NMIN_ID
          OptionID for NMIN_PARAM
private  IntParameter NMIN_PARAM
          Parameter to specify the minimum neighborhood size Key: -loci.nmin Default: 20
private  D rmax
          Holds the value of RMAX_PARAM.
static OptionID RMAX_ID
          OptionID for RMAX_PARAM
private  DistanceParameter<D> RMAX_PARAM
          Parameter to specify the maximum radius of the neighborhood to be considered, must be suitable to the distance function specified.
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm
DISTANCE_FUNCTION_ID, DISTANCE_FUNCTION_PARAM
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
LOCI(Parameterization config)
          Constructor, adhering to Parameterizable
 
Method Summary
protected  OutlierResult runInTime(Database<O> database)
          Runs the algorithm in the timed evaluation part.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm
getDistanceFactory, getDistanceFunction
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm
isTime, isVerbose, run, setTime, setVerbose
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RMAX_ID

public static final OptionID RMAX_ID
OptionID for RMAX_PARAM


NMIN_ID

public static final OptionID NMIN_ID
OptionID for NMIN_PARAM


ALPHA_ID

public static final OptionID ALPHA_ID
OptionID for ALPHA_PARAM


RMAX_PARAM

private final DistanceParameter<D extends NumberDistance<D,?>> RMAX_PARAM
Parameter to specify the maximum radius of the neighborhood to be considered, must be suitable to the distance function specified.

Key: -loci.rmax


rmax

private D extends NumberDistance<D,?> rmax
Holds the value of RMAX_PARAM.


NMIN_PARAM

private final IntParameter NMIN_PARAM
Parameter to specify the minimum neighborhood size

Key: -loci.nmin

Default: 20


nmin

private double nmin
Holds the value of NMIN_PARAM.


ALPHA_PARAM

private final DoubleParameter ALPHA_PARAM
Parameter to specify the averaging neighborhood scaling

Key: -loci.alpha

Default: 0.5


alpha

private double alpha
Holds the value of ALPHA_PARAM.


LOCI_MDEF_CRITICAL_RADIUS

public static final AssociationID<Double> LOCI_MDEF_CRITICAL_RADIUS
The LOCI MDEF / SigmaMDEF maximum values radius


LOCI_MDEF_NORM

public static final AssociationID<Double> LOCI_MDEF_NORM
The LOCI MDEF / SigmaMDEF maximum value (normalized MDEF)

Constructor Detail

LOCI

public LOCI(Parameterization config)
Constructor, adhering to Parameterizable

Parameters:
config - Parameterization
Method Detail

runInTime

protected OutlierResult runInTime(Database<O> database)
                           throws IllegalStateException
Runs the algorithm in the timed evaluation part.

Specified by:
runInTime in class AbstractAlgorithm<O extends DatabaseObject,OutlierResult>
Parameters:
database - the database to run the algorithm on
Returns:
the Result computed by this algorithm
Throws:
IllegalStateException - if the algorithm has not been initialized properly (e.g. the setParameters(String[]) method has been failed to be called).

Release 0.3 (2010-03-31_1612)