N
- Object type for neighborhoodO
- Non-spatial object typeD
- Distance value typepublic abstract class AbstractDistanceBasedSpatialOutlier<N,O,D extends NumberDistance<D,?>> extends AbstractNeighborhoodOutlier<N>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDistanceBasedSpatialOutlier.Parameterizer<N,O,D extends NumberDistance<D,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static OptionID |
NON_SPATIAL_DISTANCE_FUNCTION_ID
Parameter to specify the non spatial distance function to use
|
private DistanceFunction<O,D> |
nonSpatialDistanceFunction
The distance function to use
|
NEIGHBORHOOD_ID
Constructor and Description |
---|
AbstractDistanceBasedSpatialOutlier(NeighborSetPredicate.Factory<N> npredf,
DistanceFunction<O,D> nonSpatialDistanceFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DistanceFunction<O,D> |
getNonSpatialDistanceFunction()
Get the non-spatial relation
|
getNeighborSetPredicateFactory
getInputTypeRestriction, getLogger, makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
getInputTypeRestriction
public static final OptionID NON_SPATIAL_DISTANCE_FUNCTION_ID
private DistanceFunction<O,D extends NumberDistance<D,?>> nonSpatialDistanceFunction
public AbstractDistanceBasedSpatialOutlier(NeighborSetPredicate.Factory<N> npredf, DistanceFunction<O,D> nonSpatialDistanceFunction)
npredf
- Neighborhood predicate factorynonSpatialDistanceFunction
- Distance function to use on the
non-spatial attributes.protected DistanceFunction<O,D> getNonSpatialDistanceFunction()