Package elki.outlier.subspace
Class SOD.Par<V extends NumberVector>
- java.lang.Object
-
- elki.outlier.subspace.SOD.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- SOD<V extends NumberVector>
public static class SOD.Par<V extends NumberVector> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private double
alpha
Alpha (discriminance value).static OptionID
ALPHA_ID
Parameter to indicate the multiplier for the discriminance value for discerning small from large variances.private int
knn
Neighborhood size.static OptionID
KNN_ID
Parameter to specify the number of shared nearest neighbors to be considered for learning the subspace properties, must be an integer greater than 0.private boolean
models
Track models.static OptionID
MODELS_ID
Parameter for keeping the models.static OptionID
SIM_ID
Parameter for the similarity function.private Similarity<V>
similarityFunction
The similarity function.
-
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.SOD<V>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
KNN_ID
public static final OptionID KNN_ID
Parameter to specify the number of shared nearest neighbors to be considered for learning the subspace properties, must be an integer greater than 0.
-
ALPHA_ID
public static final OptionID ALPHA_ID
Parameter to indicate the multiplier for the discriminance value for discerning small from large variances.
-
SIM_ID
public static final OptionID SIM_ID
Parameter for the similarity function.
-
MODELS_ID
public static final OptionID MODELS_ID
Parameter for keeping the models.
-
knn
private int knn
Neighborhood size.
-
alpha
private double alpha
Alpha (discriminance value).
-
similarityFunction
private Similarity<V extends NumberVector> similarityFunction
The similarity function.
-
models
private boolean models
Track models.
-
-
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 SOD<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
-
-