N - the type the spatial neighborhood is defined overO - the type of objects handled by the algorithm@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="S. Chawla, P. Sun", title="SLOM: a new measure for local spatial outliers", booktitle="Knowledge and Information Systems 9(4)", url="https://doi.org/10.1007/s10115-005-0200-2", bibkey="DBLP:journals/kais/ChawlaS06") public class SLOM<N,O> extends AbstractDistanceBasedSpatialOutlier<N,O>
Reference:
S. Chawla, P. Sun
SLOM: a new measure for local spatial outliers
Knowledge and Information Systems 9(4)
This implementation works around some corner cases in SLOM, in particular when an object has none or a single neighbor only (albeit the results will still not be too useful then), which will result in divisions by zero.
| Modifier and Type | Class and Description |
|---|---|
static class |
SLOM.Parameterizer<N,O>
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
The logger for this class.
|
NEIGHBORHOOD_IDALGORITHM_ID| Constructor and Description |
|---|
SLOM(NeighborSetPredicate.Factory<N> npred,
PrimitiveDistanceFunction<O> 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) |
getNonSpatialDistanceFunctiongetNeighborSetPredicateFactoryrunclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
public SLOM(NeighborSetPredicate.Factory<N> npred, PrimitiveDistanceFunction<O> 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()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>Copyright © 2019 ELKI Development Team. License information.