Package elki.data.projection.random
Class AchlioptasRandomProjectionFamily.Par
- java.lang.Object
-
- elki.data.projection.random.AbstractRandomProjectionFamily.Par
-
- elki.data.projection.random.AchlioptasRandomProjectionFamily.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- AchlioptasRandomProjectionFamily
public static class AchlioptasRandomProjectionFamily.Par extends AbstractRandomProjectionFamily.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private doublesparsityProjection sparsitystatic OptionIDSPARSITY_IDParameter for the projection sparsity.-
Fields inherited from class elki.data.projection.random.AbstractRandomProjectionFamily.Par
random, RANDOM_ID
-
-
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.AchlioptasRandomProjectionFamilymake()Make an instance after successful configuration.
-
-
-
Field Detail
-
SPARSITY_ID
public static final OptionID SPARSITY_ID
Parameter for the projection sparsity.
-
sparsity
private double sparsity
Projection sparsity
-
-
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- Overrides:
configurein classAbstractRandomProjectionFamily.Par- Parameters:
config- Parameterization
-
make
public AchlioptasRandomProjectionFamily 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.- Returns:
- a new instance
-
-