de.lmu.ifi.dbs.elki.algorithm.outlier.spatial
Class CTLuMedianAlgorithm<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.CTLuMedianAlgorithm<N>
- Type Parameters:
N
- Neighborhood type
- All Implemented Interfaces:
- Algorithm, OutlierAlgorithm, InspectionUtilFrequentlyScanned, Parameterizable
@Title(value="Median Algorithm for Spatial Outlier Detection")
@Reference(authors="C.-T. Lu and D. Chen and Y. Kou",
title="Algorithms for Spatial Outlier Detection",
booktitle="Proc. 3rd IEEE International Conference on Data Mining",
url="http://dx.doi.org/10.1109/ICDM.2003.1250986")
public class CTLuMedianAlgorithm<N>
- extends AbstractNeighborhoodOutlier<N>
Median Algorithm of C.-T. Lu
Reference:
C.-T. Lu and D. Chen and Y. Kou
Algorithms for Spatial Outlier Detection
in Proc. 3rd IEEE International Conference on Data Mining
Median Algorithm uses Median to represent the average non-spatial attribute
value of neighbors.
The Difference e = non-spatial-Attribute-Value - Median (Neighborhood) is
computed.
The Spatial Objects with the highest standardized e value are Spatial
Outliers.
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.
CTLuMedianAlgorithm
public CTLuMedianAlgorithm(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