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 int
alpha
Alpha: number of levels difference to use in comparisonstatic OptionID
ALPHA_ID
Parameter to specify the averaging neighborhood scaling.protected NumberVectorDistance<? super O>
distance
The distance function to use.protected int
g
G: number of shifted trees to create.static OptionID
GRIDS_ID
Parameter to specify the number of Grids to use.protected int
nmin
Neighborhood minimum sizestatic OptionID
NMIN_ID
Parameter to specify the minimum neighborhood sizeprotected RandomFactory
rnd
Random generatorstatic OptionID
SEED_ID
Parameter 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 void
configure(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: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 ALOCI<O> 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
-
-