Package elki.outlier
Class COP.Par<V extends NumberVector>
- java.lang.Object
-
- elki.outlier.COP.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- COP<V extends NumberVector>
public static class COP.Par<V extends NumberVector> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) COP.DistanceDist
dist
Distance distributution assumption.static OptionID
DIST_ID
Distribution assumption for distances.protected Distance<? super V>
distance
The distance function to use.(package private) double
expect
Expected amount of outliers.static OptionID
EXPECT_ID
Expected share of outliers.(package private) int
k
Number of neighbors to be considered.static OptionID
K_ID
Parameter to specify the number of nearest neighbors of an object to be considered for computing its score, must be an integer greater than 0.(package private) boolean
models
Include COP modelsstatic OptionID
MODELS_ID
Include COP error vectors in output.(package private) PCARunner
pca
Holds the object performing the dependency derivation.static OptionID
PCARUNNER_ID
Class to compute the PCA with.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.COP<V>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
K_ID
public static final OptionID K_ID
Parameter to specify the number of nearest neighbors of an object to be considered for computing its score, must be an integer greater than 0.
-
DIST_ID
public static final OptionID DIST_ID
Distribution assumption for distances.
-
PCARUNNER_ID
public static final OptionID PCARUNNER_ID
Class to compute the PCA with.
-
EXPECT_ID
public static final OptionID EXPECT_ID
Expected share of outliers.
-
MODELS_ID
public static final OptionID MODELS_ID
Include COP error vectors in output.
-
k
int k
Number of neighbors to be considered.
-
pca
PCARunner pca
Holds the object performing the dependency derivation.
-
dist
COP.DistanceDist dist
Distance distributution assumption.
-
expect
double expect
Expected amount of outliers.
-
models
boolean models
Include COP models
-
distance
protected Distance<? super V extends NumberVector> distance
The distance function to use.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public COP<V> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-