
N - Neighborhood type@Title(value="Z-Test Outlier Detection") @Description(value="Outliers are detected by their z-deviation from the local mean.") @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 CTLuZTestOutlier<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.
Description:
Z-Test Algorithm uses mean to represent the average non-spatial attribute
value of neighbors.
The Difference e = non-spatial-attribute-value - mean (Neighborhood) is
computed.
The Spatial Objects with the highest standardized e value are Spatial
Outliers.
| Modifier and Type | Class and Description |
|---|---|
static class |
CTLuZTestOutlier.Parameterizer<N>
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
The logger for this class.
|
NEIGHBORHOOD_ID| Constructor and Description |
|---|
CTLuZTestOutlier(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.
|
getNeighborSetPredicateFactorymakeParameterDistanceFunction, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
public CTLuZTestOutlier(NeighborSetPredicate.Factory<N> npredf)
npredf - Neighbor predicatepublic OutlierResult run(Database database, Relation<N> nrel, Relation<? extends NumberVector<?>> relation)
database - Databasenrel - Neighborhood relationrelation - Data relation (1d!)protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>