Package elki.index.preprocessed.knn
Class NaiveProjectedKNNPreprocessor.Factory.Par
- java.lang.Object
-
- elki.index.preprocessed.knn.NaiveProjectedKNNPreprocessor.Factory.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- NaiveProjectedKNNPreprocessor.Factory<V extends NumberVector>
public static class NaiveProjectedKNNPreprocessor.Factory.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RandomProjectionFamily
proj
Random projection family to use.static OptionID
PROJECTION_ID
Parameter for choosing the random projections.(package private) int
projections
Number of projections to use.static OptionID
PROJECTIONS_ID
Parameter for choosing the number of projections to use.(package private) RandomFactory
random
Random number generator.static OptionID
RANDOM_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.NaiveProjectedKNNPreprocessor.Factory<?>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
WINDOW_ID
public static final OptionID WINDOW_ID
Parameter for setting the widows size multiplicator.
-
PROJECTIONS_ID
public static final OptionID PROJECTIONS_ID
Parameter for choosing the number of projections to use.
-
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.
-
window
double window
Curve window size.
-
projections
int projections
Number of projections 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 NaiveProjectedKNNPreprocessor.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
-
-