
O - Object typeD - Distance type@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,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm<O,D,OutlierResult> implements OutlierAlgorithm
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.| Modifier and Type | Class and Description | 
|---|---|
| static class  | LOCI.Parameterizer<O,D extends NumberDistance<D,?>>Parameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| private double | alphaHolds the value of  ALPHA_ID. | 
| static OptionID | ALPHA_IDParameter to specify the averaging neighborhood scaling. | 
| private static Logging | LOGThe logger for this class. | 
| private int | nminHolds the value of  NMIN_ID. | 
| static OptionID | NMIN_IDParameter to specify the minimum neighborhood size | 
| private D | rmaxHolds the value of  RMAX_ID. | 
| static OptionID | RMAX_IDParameter to specify the maximum radius of the neighborhood to be
 considered, must be suitable to the distance function specified. | 
DISTANCE_FUNCTION_ID| Constructor and Description | 
|---|
| LOCI(DistanceFunction<? super O,D> distanceFunction,
    D rmax,
    int nmin,
    double alpha)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected int | elementsAtRadius(List<DoubleIntPair> criticalDistances,
                double radius)Get the number of objects for a given radius, from the list of critical
 distances, storing (radius, count) pairs. | 
| 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 | 
getDistanceFunctionmakeParameterDistanceFunction, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
public static final OptionID RMAX_ID
public static final OptionID NMIN_ID
public static final OptionID ALPHA_ID
private D extends NumberDistance<D,?> rmax
RMAX_ID.private int nmin
NMIN_ID.private double alpha
ALPHA_ID.public LOCI(DistanceFunction<? super O,D> distanceFunction, D rmax, int nmin, double alpha)
distanceFunction - Distance functionrmax - Maximum radiusnmin - Minimum neighborhood sizealpha - Alpha valuepublic OutlierResult run(Database database, Relation<O> relation)
database - Database to processrelation - Relation to processprotected int elementsAtRadius(List<DoubleIntPair> criticalDistances, double radius)
criticalDistances - radius - public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>