O
- Object typepublic class DistanceStddevOutlier<O> extends AbstractDistanceBasedAlgorithm<O,OutlierResult> implements OutlierAlgorithm
Modifier and Type | Class and Description |
---|---|
static class |
DistanceStddevOutlier.Parameterizer<O>
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
protected int |
k
Number of neighbors to get.
|
private static Logging |
LOG
Class logger
|
ALGORITHM_ID
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
DistanceStddevOutlier(DistanceFunction<? super O> 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
|
getDistanceFunction
run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
protected int k
public DistanceStddevOutlier(DistanceFunction<? super O> 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()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
Copyright © 2019 ELKI Development Team. License information.