Package elki.outlier.spatial
Class SLOM<N,O>
- java.lang.Object
-
- elki.outlier.spatial.AbstractNeighborhoodOutlier<N>
-
- elki.outlier.spatial.AbstractDistanceBasedSpatialOutlier<N,O>
-
- elki.outlier.spatial.SLOM<N,O>
-
- Type Parameters:
N- the type the spatial neighborhood is defined overO- the type of objects handled by the algorithm
- All Implemented Interfaces:
elki.Algorithm,OutlierAlgorithm
@Title("SLOM: a new measure for local spatial outliers") @Description("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>SLOM: a new measure for local spatial outliersReference:
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.
- Since:
- 0.4.0
- Author:
- Ahmed Hettab
-
-
Field Summary
-
Fields inherited from class elki.outlier.spatial.AbstractNeighborhoodOutlier
NEIGHBORHOOD_ID
-
-
Constructor Summary
Constructors Constructor Description SLOM(NeighborSetPredicate.Factory<N> npred, elki.distance.PrimitiveDistance<O> nonSpatialDistance)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elki.data.type.TypeInformation[]getInputTypeRestriction()OutlierResultrun(elki.database.Database database, elki.database.relation.Relation<N> spatial, elki.database.relation.Relation<O> relation)-
Methods inherited from class elki.outlier.spatial.AbstractDistanceBasedSpatialOutlier
getNonSpatialDistance
-
Methods inherited from class elki.outlier.spatial.AbstractNeighborhoodOutlier
getNeighborSetPredicateFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.outlier.OutlierAlgorithm
autorun
-
-
-
-
Constructor Detail
-
SLOM
public SLOM(NeighborSetPredicate.Factory<N> npred, elki.distance.PrimitiveDistance<O> nonSpatialDistance)
Constructor.- Parameters:
npred- Neighborhood predicatenonSpatialDistance- Distance function to use on the non-spatial attributes
-
-
Method Detail
-
getInputTypeRestriction
public elki.data.type.TypeInformation[] getInputTypeRestriction()
-
run
public OutlierResult run(elki.database.Database database, elki.database.relation.Relation<N> spatial, elki.database.relation.Relation<O> relation)
- Parameters:
database- Database to processspatial- Spatial Relation to use.relation- Relation to use.- Returns:
- Outlier detection result
-
-