
O - Object typeD - Distance typepublic class DistanceStddevOutlier<O,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm<O,D,OutlierResult> implements OutlierAlgorithm
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DistanceStddevOutlier.Parameterizer<O,D extends NumberDistance<D,?>>Parameterization class | 
| Modifier and Type | Field and Description | 
|---|---|
| protected int | kNumber of neighbors to get. | 
| private static Logging | LOGClass logger | 
DISTANCE_FUNCTION_ID| Constructor and Description | 
|---|
| DistanceStddevOutlier(DistanceFunction<? super O,D> distanceFunction,
                     int k)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<O> relation)Run the outlier detection algorithm | 
getDistanceFunctionmakeParameterDistanceFunction, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
protected int k
public DistanceStddevOutlier(DistanceFunction<? super O,D> distanceFunction, int k)
distanceFunction - Distance function to usek - Number of neighbors to usepublic OutlierResult run(Database database, Relation<O> relation)
database - Database to userelation - Relation to analyzepublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>