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.DistanceDistdistDistance distributution assumption.static OptionIDDIST_IDDistribution assumption for distances.protected Distance<? super V>distanceThe distance function to use.(package private) doubleexpectExpected amount of outliers.static OptionIDEXPECT_IDExpected share of outliers.(package private) intkNumber of neighbors to be considered.static OptionIDK_IDParameter 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) booleanmodelsInclude COP modelsstatic OptionIDMODELS_IDInclude COP error vectors in output.(package private) PCARunnerpcaHolds the object performing the dependency derivation.static OptionIDPCARUNNER_IDClass to compute the PCA with.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(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:ParameterizerConfigure 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:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
make
public COP<V> make()
Description copied from interface:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Returns:
- a new instance
-
-