
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
| 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 |
alpha
Holds the value of
ALPHA_ID. |
static OptionID |
ALPHA_ID
Parameter to specify the averaging neighborhood scaling.
|
private static Logging |
logger
The logger for this class.
|
private int |
nmin
Holds the value of
NMIN_ID. |
static OptionID |
NMIN_ID
Parameter to specify the minimum neighborhood size
|
private D |
rmax
Holds the value of
RMAX_ID. |
static OptionID |
RMAX_ID
Parameter 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 |
|---|---|
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)
Runs the algorithm in the timed evaluation part.
|
getDistanceFunctionmakeParameterDistanceFunctionprivate static final Logging logger
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) throws IllegalStateException
run in interface Algorithmrun in interface OutlierAlgorithmrun in class AbstractAlgorithm<OutlierResult>database - the database to run the algorithm onIllegalStateException - if the algorithm has not been initialized
properly (e.g. the setParameters(String[]) method has been failed
to be called).public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>