V
- the type of NumberVector handled by this Algorithm@Title(value="COP: Correlation Outlier Probability") @Reference(authors="Hans-Peter Kriegel, Peer Kr\u00f6ger, Erich Schubert, Arthur Zimek", title="Outlier Detection in Arbitrarily Oriented Subspaces", booktitle="Proc. IEEE International Conference on Data Mining (ICDM 2012)", url="http://dx.doi.org/10.1109/ICDM.2012.21") public class COP<V extends NumberVector> extends AbstractDistanceBasedAlgorithm<V,OutlierResult> implements OutlierAlgorithm
Hans-Peter Kriegel, Peer Kröger, Erich Schubert, Arthur Zimek
Outlier Detection in Arbitrarily Oriented Subspaces
in: Proc. IEEE International Conference on Data Mining (ICDM 2012)
Modifier and Type | Class and Description |
---|---|
static class |
COP.DistanceDist
Score type.
|
static class |
COP.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static String |
COP_DIM
Result name for the dimensionality.
|
static String |
COP_ERRORVEC
Result name for the error vectors.
|
static String |
COP_SCORES
Result name for the COP outlier scores.
|
(package private) COP.DistanceDist |
dist
Type of distribution to assume for distances.
|
(package private) double |
expect
Expected amount of outliers.
|
(package private) int |
k
Number of neighbors to be considered.
|
private static Logging |
LOG
The logger for this class.
|
(package private) boolean |
models
Include models in output.
|
private PCARunner |
pca
Holds the PCA runner.
|
private static NumberArrayAdapter<Double,double[]> |
SHORTENED_ARRAY
A clone of
DoubleArrayAdapter
that only uses the first 85% of the array! |
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
COP(DistanceFunction<? super V> distanceFunction,
int k,
PCARunner pca,
double expect,
COP.DistanceDist dist,
boolean models)
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(Relation<V> relation)
Process a single relation.
|
getDistanceFunction
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
public static final String COP_SCORES
public static final String COP_DIM
public static final String COP_ERRORVEC
private static final NumberArrayAdapter<Double,double[]> SHORTENED_ARRAY
DoubleArrayAdapter
that only uses the first 85% of the array!int k
private PCARunner pca
double expect
COP.DistanceDist dist
boolean models
public COP(DistanceFunction<? super V> distanceFunction, int k, PCARunner pca, double expect, COP.DistanceDist dist, boolean models)
distanceFunction
- distance functionk
- number of neighborspca
- PCA computation methodexpect
- Expected fraction of outliers (for score normalization)dist
- Distance distribution model (ChiSquared, Gamma)models
- Report modelspublic OutlierResult run(Relation<V> relation)
relation
- Relation to processpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.