N
- the type the spatial neighborhood is defined overO
- the type of objects handled by the algorithmD
- the type of Distance used for non spatial attributes@Title(value="SLOM: a new measure for local spatial outliers") @Description(value="Spatial local outlier measure (SLOM), which captures the local behaviour of datum in their spatial neighbourhood") @Reference(authors="Sanjay Chawla and Pei Sun", title="SLOM: a new measure for local spatial outliers", booktitle="Knowledge and Information Systems 2005", url="http://rp-www.cs.usyd.edu.au/~chawlarg/papers/KAIS_online.pdf") public class SLOM<N,O,D extends NumberDistance<D,?>> extends AbstractDistanceBasedSpatialOutlier<N,O,D>
Reference:
Sanjay Chawla and Pei Sun
SLOM: a new measure for local spatial outliers
in Knowledge and Information Systems 2005
Modifier and Type | Class and Description |
---|---|
static class |
SLOM.Parameterizer<N,O,D extends NumberDistance<D,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
logger
The logger for this class.
|
NON_SPATIAL_DISTANCE_FUNCTION_ID
NEIGHBORHOOD_ID
Constructor and Description |
---|
SLOM(NeighborSetPredicate.Factory<N> npred,
PrimitiveDistanceFunction<O,D> nonSpatialDistanceFunction)
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> spatial,
Relation<O> relation) |
getNonSpatialDistanceFunction
getNeighborSetPredicateFactory
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging logger
public SLOM(NeighborSetPredicate.Factory<N> npred, PrimitiveDistanceFunction<O,D> nonSpatialDistanceFunction)
npred
- Neighborhood predicatenonSpatialDistanceFunction
- Distance function to use on the
non-spatial attributespublic OutlierResult run(Database database, Relation<N> spatial, Relation<O> relation)
database
- Database to processspatial
- Spatial Relation to use.relation
- Relation to use.protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>