N - Neighborhood object typeO - Attribute object type@Title(value="Spatial Outlier Factor") @Reference(authors="T. Huang, X. Qin", title="Detecting outliers in spatial database", booktitle="Proc. 3rd International Conference on Image and Graphics", url="https://doi.org/10.1109/ICIG.2004.53", bibkey="DBLP:conf/icig/HuangQ04") public class SOF<N,O> extends AbstractDistanceBasedSpatialOutlier<N,O>
LOF variation.
Since the "reachability distance" of LOF cannot be used canonically in the bichromatic case, this part of LOF is dropped and the exact distance is used instead.
Reference:
T. Huang, X. Qin
Detecting outliers in spatial database
Proc. 3rd International Conference on Image and Graphics
A LOF variation simplified with reachDist(o,p) == dist(o,p).
| Modifier and Type | Class and Description |
|---|---|
static class |
SOF.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 |
|---|
SOF(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)
The main run method
|
getNonSpatialDistanceFunctiongetNeighborSetPredicateFactoryrunclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
public SOF(NeighborSetPredicate.Factory<N> npred, PrimitiveDistanceFunction<O> nonSpatialDistanceFunction)
npred - Neighborhood predicatenonSpatialDistanceFunction - Distance function on non-spatial
attributesprotected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>public OutlierResult run(Database database, Relation<N> spatial, Relation<O> relation)
database - Database to use (actually unused)spatial - Relation for neighborhoodrelation - Attributes to evaluatepublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>Copyright © 2019 ELKI Development Team. License information.