Package elki.outlier.meta
Class FeatureBagging.Par
- java.lang.Object
-
- elki.outlier.meta.FeatureBagging.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- FeatureBagging
public static class FeatureBagging.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanbreadthCumulative sum or breadth first combinations.static OptionIDBREADTH_IDThe flag for using the breadth first approach.protected intkThe neighborhood size to use.protected intnumNumber of instances to use.static OptionIDNUM_IDParameter to specify the number of instances to use in the ensemble.protected RandomFactoryrndRandom generator.static OptionIDSEED_IDThe parameter to specify the random seed.
-
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.FeatureBaggingmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
NUM_ID
public static final OptionID NUM_ID
Parameter to specify the number of instances to use in the ensemble.
-
BREADTH_ID
public static final OptionID BREADTH_ID
The flag for using the breadth first approach.
-
SEED_ID
public static final OptionID SEED_ID
The parameter to specify the random seed.
-
k
protected int k
The neighborhood size to use.
-
num
protected int num
Number of instances to use.
-
breadth
protected boolean breadth
Cumulative sum or breadth first combinations.
-
rnd
protected RandomFactory rnd
Random generator.
-
-
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 FeatureBagging 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
-
-