de.lmu.ifi.dbs.elki.algorithm.outlier.spatial
Class CTLuScatterplotOutlier<N>
java.lang.Object
de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<OutlierResult>
de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.AbstractNeighborhoodOutlier<N>
de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.CTLuScatterplotOutlier<N>
- Type Parameters:
N
- Neighborhood object type
- All Implemented Interfaces:
- Algorithm, OutlierAlgorithm, InspectionUtilFrequentlyScanned, Parameterizable
@Title(value="Scatterplot Spatial Outlier")
@Description(value="Spatial Outlier Detection Algorithm using linear regression of attributes and the mean of their neighbors.")
@Reference(authors="S. Shekhar and C.-T. Lu and P. Zhang",
title="A Unified Approach to Detecting Spatial Outliers",
booktitle="GeoInformatica 7-2, 2003",
url="http://dx.doi.org/10.1023/A:1023455925009")
public class CTLuScatterplotOutlier<N>
- extends AbstractNeighborhoodOutlier<N>
Scatterplot-outlier is a spatial outlier detection method that performs a
linear regression of object attributes and their neighbors average value.
Reference:
S. Shekhar and C.-T. Lu and P. Zhang
A Unified Approach to Detecting Spatial Outliers
in in GeoInformatica 7-2, 2003.
Scatterplot shows attribute values on the X-axis and the average of the
attribute values in the neighborhood on the Y-axis. Best fit regression line
is used to identify spatial outliers. Vertical difference of a data point
tells about outlierness.
Field Summary |
private static Logging |
logger
The logger for this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final Logging logger
- The logger for this class.
CTLuScatterplotOutlier
public CTLuScatterplotOutlier(NeighborSetPredicate.Factory<N> npredf)
- Constructor
- Parameters:
npredf
- Neighborhood predicate
run
public OutlierResult run(Relation<N> nrel,
Relation<? extends NumberVector<?,?>> relation)
- Main method
- Parameters:
nrel
- Neighborhood relationrelation
- Data relation (1d!)
- Returns:
- Outlier detection result
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
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