Package elki.outlier
Class SimpleCOP.Par<V extends NumberVector>
- java.lang.Object
-
- elki.outlier.SimpleCOP.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- SimpleCOP<V extends NumberVector>
public static class SimpleCOP.Par<V extends NumberVector> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected Distance<? super V>
distance
The distance function to use.protected EigenPairFilter
filter
Filter for selecting eigenvectors.protected 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 COP_SCORE, must be an integer greater than 0.protected PCARunner
pca
Holds the object performing the dependency derivationstatic OptionID
PCARUNNER_ID
Parameter for the PCA runner class.
-
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.SimpleCOP<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 COP_SCORE, must be an integer greater than 0.
-
PCARUNNER_ID
public static final OptionID PCARUNNER_ID
Parameter for the PCA runner class.
-
distance
protected Distance<? super V extends NumberVector> distance
The distance function to use.
-
k
protected int k
Number of neighbors to be considered.
-
pca
protected PCARunner pca
Holds the object performing the dependency derivation
-
filter
protected EigenPairFilter filter
Filter for selecting eigenvectors.
-
-
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 SimpleCOP<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
-
-