Package elki.outlier.lof
Class ALOCI.Par<O extends NumberVector>
- java.lang.Object
-
- elki.outlier.lof.ALOCI.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ALOCI<V extends NumberVector>
public static class ALOCI.Par<O extends NumberVector> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected intalphaAlpha: number of levels difference to use in comparisonstatic OptionIDALPHA_IDParameter to specify the averaging neighborhood scaling.protected NumberVectorDistance<? super O>distanceThe distance function to use.protected intgG: number of shifted trees to create.static OptionIDGRIDS_IDParameter to specify the number of Grids to use.protected intnminNeighborhood minimum sizestatic OptionIDNMIN_IDParameter to specify the minimum neighborhood sizeprotected RandomFactoryrndRandom generatorstatic OptionIDSEED_IDParameter to specify the seed to initialize Random.
-
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.ALOCI<O>make()Make an instance after successful configuration.
-
-
-
Field Detail
-
NMIN_ID
public static final OptionID NMIN_ID
Parameter to specify the minimum neighborhood size
-
ALPHA_ID
public static final OptionID ALPHA_ID
Parameter to specify the averaging neighborhood scaling.
-
GRIDS_ID
public static final OptionID GRIDS_ID
Parameter to specify the number of Grids to use.
-
SEED_ID
public static final OptionID SEED_ID
Parameter to specify the seed to initialize Random.
-
nmin
protected int nmin
Neighborhood minimum size
-
alpha
protected int alpha
Alpha: number of levels difference to use in comparison
-
g
protected int g
G: number of shifted trees to create.
-
rnd
protected RandomFactory rnd
Random generator
-
distance
protected NumberVectorDistance<? super O 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 ALOCI<O> 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
-
-