Package elki.index.preprocessed.knn
Class SpacefillingKNNPreprocessor.Factory.Par
- java.lang.Object
-
- elki.index.preprocessed.knn.SpacefillingKNNPreprocessor.Factory.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- SpacefillingKNNPreprocessor.Factory<V extends NumberVector>
public static class SpacefillingKNNPreprocessor.Factory.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<? extends SpatialSorter>curvegenSpatial curve generators.static OptionIDCURVES_IDParameter for choosing the space filling curves to use.static OptionIDDIM_IDParameter for choosing the number of dimensions to use for each curve.(package private) intodimNumber of dimensions to use.(package private) RandomProjectionFamilyprojRandom projection family to use.static OptionIDPROJECTION_IDParameter for choosing the random projections.(package private) RandomFactoryrandomRandom number generator.static OptionIDRANDOM_IDParameter for choosing the number of variants to use.(package private) intvariantsNumber of variants to generate for each curve.static OptionIDVARIANTS_IDParameter for choosing the number of variants to use.(package private) doublewindowCurve window size.static OptionIDWINDOW_IDParameter for setting the widows size multiplicator.
-
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.SpacefillingKNNPreprocessor.Factory<?>make()Make an instance after successful configuration.
-
-
-
Field Detail
-
CURVES_ID
public static final OptionID CURVES_ID
Parameter for choosing the space filling curves to use.
-
WINDOW_ID
public static final OptionID WINDOW_ID
Parameter for setting the widows size multiplicator.
-
VARIANTS_ID
public static final OptionID VARIANTS_ID
Parameter for choosing the number of variants to use.
-
DIM_ID
public static final OptionID DIM_ID
Parameter for choosing the number of dimensions to use for each curve.
-
PROJECTION_ID
public static final OptionID PROJECTION_ID
Parameter for choosing the random projections.
-
RANDOM_ID
public static final OptionID RANDOM_ID
Parameter for choosing the number of variants to use.
-
curvegen
java.util.List<? extends SpatialSorter> curvegen
Spatial curve generators.
-
window
double window
Curve window size.
-
variants
int variants
Number of variants to generate for each curve.
-
odim
int odim
Number of dimensions to use.
-
proj
RandomProjectionFamily proj
Random projection family to use.
-
random
RandomFactory random
Random number 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 SpacefillingKNNPreprocessor.Factory<?> 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
-
-