N
- Neighborhood object type@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>
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.
Modifier and Type | Class and Description |
---|---|
static class |
CTLuScatterplotOutlier.Parameterizer<N>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger for this class.
|
NEIGHBORHOOD_ID
Constructor and Description |
---|
CTLuScatterplotOutlier(NeighborSetPredicate.Factory<N> npredf)
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,
Relation<N> nrel,
Relation<? extends NumberVector> relation)
Main method.
|
getNeighborSetPredicateFactory
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
public CTLuScatterplotOutlier(NeighborSetPredicate.Factory<N> npredf)
npredf
- Neighborhood predicatepublic OutlierResult run(Database database, Relation<N> nrel, Relation<? extends NumberVector> relation)
database
- Databasenrel
- Neighborhood relationrelation
- Data relation (1d!)protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.