Package elki.outlier.spatial
Class AbstractNeighborhoodOutlier<O>
- java.lang.Object
-
- elki.outlier.spatial.AbstractNeighborhoodOutlier<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
Algorithm
,OutlierAlgorithm
- Direct Known Subclasses:
AbstractDistanceBasedSpatialOutlier
,CTLuMeanMultipleAttributes
,CTLuMedianAlgorithm
,CTLuMedianMultipleAttributes
,CTLuMoranScatterplotOutlier
,CTLuScatterplotOutlier
,CTLuZTestOutlier
,TrimmedMeanApproach
public abstract class AbstractNeighborhoodOutlier<O> extends java.lang.Object implements OutlierAlgorithm
Abstract base class for spatial outlier detection methods using a spatial neighborhood.- Since:
- 0.4.0
- Author:
- Ahmed Hettab
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
NEIGHBORHOOD_ID
Parameter to specify the neighborhood predicate to use.private NeighborSetPredicate.Factory<O>
npredf
Our predicate to obtain the neighbors
-
Constructor Summary
Constructors Constructor Description AbstractNeighborhoodOutlier(NeighborSetPredicate.Factory<O> npredf)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NeighborSetPredicate.Factory<O>
getNeighborSetPredicateFactory()
Get the predicate to obtain the neighbors.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.Algorithm
getInputTypeRestriction
-
Methods inherited from interface elki.outlier.OutlierAlgorithm
autorun
-
-
-
-
Field Detail
-
NEIGHBORHOOD_ID
public static final OptionID NEIGHBORHOOD_ID
Parameter to specify the neighborhood predicate to use.
-
npredf
private NeighborSetPredicate.Factory<O> npredf
Our predicate to obtain the neighbors
-
-
Constructor Detail
-
AbstractNeighborhoodOutlier
public AbstractNeighborhoodOutlier(NeighborSetPredicate.Factory<O> npredf)
Constructor- Parameters:
npredf
- Neighborhood predicate
-
-
Method Detail
-
getNeighborSetPredicateFactory
protected NeighborSetPredicate.Factory<O> getNeighborSetPredicateFactory()
Get the predicate to obtain the neighbors.- Returns:
- predicate to obtain the neighbors
-
-