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 doublealphaAlpha (discriminance value).static OptionIDALPHA_IDParameter to indicate the multiplier for the discriminance value for discerning small from large variances.private intknnNeighborhood size.static OptionIDKNN_IDParameter to specify the number of shared nearest neighbors to be considered for learning the subspace properties, must be an integer greater than 0.private booleanmodelsTrack models.static OptionIDMODELS_IDParameter for keeping the models.static OptionIDSIM_IDParameter for the similarity function.private Similarity<V>similarityFunctionThe similarity function.
-
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.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: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 SOD<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
-
-