|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<O,R>
de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm<O,D,OutlierResult>
de.lmu.ifi.dbs.elki.algorithm.outlier.AbstractDBOutlier<O,D>
O - the type of DatabaseObjects handled by this AlgorithmD - the type of Distance used by this Algorithmpublic abstract class AbstractDBOutlier<O extends DatabaseObject,D extends Distance<D>>
Simple distance based outlier detection algorithms.
Reference: E.M. Knorr, R. T. Ng: Algorithms for Mining Distance-Based Outliers in Large Datasets, In: Procs Int. Conf. on Very Large Databases (VLDB'98), New York, USA, 1998.
| Field Summary | |
|---|---|
private D |
d
Holds the value of D_PARAM. |
static OptionID |
D_ID
OptionID for D_PARAM |
private DistanceParameter<D> |
D_PARAM
Parameter to specify the size of the D-neighborhood, Key: -dbod.d
|
static AssociationID<Double> |
DBOD_SCORE
Association ID for DBOD. |
| Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm |
|---|
DISTANCE_FUNCTION_ID, DISTANCE_FUNCTION_PARAM |
| Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
|---|
debug, logger |
| Constructor Summary | |
|---|---|
AbstractDBOutlier(Parameterization config)
Constructor, adhering to Parameterizable |
|
| Method Summary | |
|---|---|
protected abstract HashMap<Integer,Double> |
computeOutlierScores(Database<O> database,
D d)
computes an outlier score for each object of the database. |
protected OutlierResult |
runInTime(Database<O> database)
Runs the algorithm in the timed evaluation part. |
| Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm |
|---|
getDistanceFactory, getDistanceFunction |
| Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm |
|---|
isTime, isVerbose, run, setTime, setVerbose |
| Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
|---|
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AssociationID<Double> DBOD_SCORE
public static final OptionID D_ID
D_PARAM
private final DistanceParameter<D extends Distance<D>> D_PARAM
Key: -dbod.d
private D extends Distance<D> d
D_PARAM.
| Constructor Detail |
|---|
public AbstractDBOutlier(Parameterization config)
Parameterizable
config - Parameterization| Method Detail |
|---|
protected OutlierResult runInTime(Database<O> database)
throws IllegalStateException
runInTime in class AbstractAlgorithm<O extends DatabaseObject,OutlierResult>database - the database to run the algorithm on
IllegalStateException - if the algorithm has not been initialized
properly (e.g. the setParameters(String[]) method has been failed
to be called).
protected abstract HashMap<Integer,Double> computeOutlierScores(Database<O> database,
D d)
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||