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>
curvegen
Spatial curve generators.static OptionID
CURVES_ID
Parameter for choosing the space filling curves to use.static OptionID
DIM_ID
Parameter for choosing the number of dimensions to use for each curve.(package private) int
odim
Number of dimensions to use.(package private) RandomProjectionFamily
proj
Random projection family to use.static OptionID
PROJECTION_ID
Parameter for choosing the random projections.(package private) RandomFactory
random
Random number generator.static OptionID
RANDOM_ID
Parameter for choosing the number of variants to use.(package private) int
variants
Number of variants to generate for each curve.static OptionID
VARIANTS_ID
Parameter for choosing the number of variants to use.(package private) double
window
Curve window size.static OptionID
WINDOW_ID
Parameter 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 void
configure(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: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 SpacefillingKNNPreprocessor.Factory<?> 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
-
-