Package elki.outlier.distance.parallel
Class ParallelKNNOutlier<O>
- java.lang.Object
-
- elki.outlier.distance.parallel.ParallelKNNOutlier<O>
-
- Type Parameters:
O- Object type
- All Implemented Interfaces:
elki.Algorithm,OutlierAlgorithm
@Reference(authors="Erich Schubert, Arthur Zimek, Hans-Peter Kriegel", title="Local Outlier Detection Reconsidered: a Generalized View on Locality with Applications to Spatial, Video, and Network Outlier Detection", booktitle="Data Mining and Knowledge Discovery 28(1)", url="https://doi.org/10.1007/s10618-012-0300-z", bibkey="DBLP:journals/datamine/SchubertZK14") public class ParallelKNNOutlier<O> extends java.lang.Object implements OutlierAlgorithmParallel implementation of KNN Outlier detection.Reference:
S. Ramaswamy, R. Rastogi, K. Shim
Efficient Algorithms for Mining Outliers from Large Data Sets
Proc. of the Int. Conf. on Management of DataThis parallelized implementation is based on the easy-to-parallelize generalized pattern discussed in
Erich Schubert, Arthur Zimek, Hans-Peter Kriegel
Local Outlier Detection Reconsidered: a Generalized View on Locality with Applications to Spatial, Video, and Network Outlier Detection
Data Mining and Knowledge Discovery 28(1)- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description ParallelKNNOutlier(elki.distance.Distance<? super O> distance, int k)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elki.data.type.TypeInformation[]getInputTypeRestriction()OutlierResultrun(elki.database.relation.Relation<O> relation)Run the parallel kNN outlier detector.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.outlier.OutlierAlgorithm
autorun
-
-
-
-
Field Detail
-
distance
protected elki.distance.Distance<? super O> distance
Distance function used.
-
kplus
protected int kplus
Parameter k + 1
-
-
Constructor Detail
-
ParallelKNNOutlier
public ParallelKNNOutlier(elki.distance.Distance<? super O> distance, int k)
Constructor.- Parameters:
distance- Distance functionk- K parameter
-
-
Method Detail
-
getInputTypeRestriction
public elki.data.type.TypeInformation[] getInputTypeRestriction()
- Specified by:
getInputTypeRestrictionin interfaceelki.Algorithm
-
run
public OutlierResult run(elki.database.relation.Relation<O> relation)
Run the parallel kNN outlier detector.- Parameters:
relation- Relation to analyze- Returns:
- Outlier detection result
-
-