V
- Vector type to use for distancesD
- Distance function to use@Title(value="GLS-Backward Search") @Reference(authors="F. Chen and C.-T. Lu and A. P. Boedihardjo", title="GLS-SOD: A Generalized Local Statistical Approach for Spatial Outlier Detection", booktitle="Proc. 16th ACM SIGKDD international conference on Knowledge discovery and data mining", url="http://dx.doi.org/10.1145/1835804.1835939") public class CTLuGLSBackwardSearchAlgorithm<V extends NumberVector<?,?>,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm<V,D,OutlierResult> implements OutlierAlgorithm
F. Chen and C.-T. Lu and A. P. Boedihardjo:
GLS-SOD: A Generalized Local Statistical Approach for Spatial Outlier
Detection
In Proc. 16th ACM SIGKDD international conference on Knowledge discovery and
data mining, 2010
Modifier and Type | Class and Description |
---|---|
static class |
CTLuGLSBackwardSearchAlgorithm.Parameterizer<V extends NumberVector<?,?>,D extends NumberDistance<D,?>>
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
private double |
alpha
Parameter Alpha - significance niveau
|
private int |
k
Parameter k - neighborhood size
|
private static Logging |
logger
The logger for this class.
|
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
CTLuGLSBackwardSearchAlgorithm(DistanceFunction<V,D> distanceFunction,
int k,
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(Relation<V> relationx,
Relation<? extends NumberVector<?,?>> relationy)
Run the algorithm
|
private Pair<DBID,Double> |
singleIteration(Relation<V> relationx,
Relation<? extends NumberVector<?,?>> relationy)
Run a single iteration of the GLS-SOD modeling step
|
getDistanceFunction
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging logger
private double alpha
private int k
public CTLuGLSBackwardSearchAlgorithm(DistanceFunction<V,D> distanceFunction, int k, double alpha)
distanceFunction
- Distance functionk
- number of nearest neighbors to usealpha
- Significance niveaupublic OutlierResult run(Relation<V> relationx, Relation<? extends NumberVector<?,?>> relationy)
relationx
- Spatial relationrelationy
- Attribute relationprivate Pair<DBID,Double> singleIteration(Relation<V> relationx, Relation<? extends NumberVector<?,?>> relationy)
relationx
- Geo relationrelationy
- Attribute relationpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>