
N - Neighborhood object typeO - Attribute object typeD - Distance type@Title(value="Spatial Outlier Factor") @Reference(authors="Huang, T., Qin, X.", title="Detecting outliers in spatial database", booktitle="Proc. 3rd International Conference on Image and Graphics", url="http://dx.doi.org/10.1109/ICIG.2004.53") public class SOF<N,O,D extends NumberDistance<D,?>> extends AbstractDistanceBasedSpatialOutlier<N,O,D>
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.
 
 
 Huang, T., Qin, X.
 Detecting outliers in spatial database.
 In: Proc. 3rd International Conference on Image and Graphics,
 Hong Kong, China.
 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SOF.Parameterizer<N,O,D extends NumberDistance<D,?>>Parameterization class | 
| Modifier and Type | Field and Description | 
|---|---|
| private static Logging | LOGThe logger for this class. | 
NON_SPATIAL_DISTANCE_FUNCTION_IDNEIGHBORHOOD_ID| Constructor and Description | 
|---|
| SOF(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)The main run method | 
getNonSpatialDistanceFunctiongetNeighborSetPredicateFactorymakeParameterDistanceFunction, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
public SOF(NeighborSetPredicate.Factory<N> npred, PrimitiveDistanceFunction<O,D> 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>