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 double
sparsity
Projection sparsitystatic OptionID
SPARSITY_ID
Parameter 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 void
configure(Parameterization config)
Configure the class.AchlioptasRandomProjectionFamily
make()
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: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
- Overrides:
configure
in classAbstractRandomProjectionFamily.Par
- Parameters:
config
- Parameterization
-
make
public AchlioptasRandomProjectionFamily 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.- Returns:
- a new instance
-
-