public static class RandomProjection.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
private int |
dimensionality
Output dimensionality.
|
static OptionID |
DIMENSIONALITY_ID
Parameter for the desired output dimensionality.
|
private RandomProjectionFamily |
family
Random generator.
|
static OptionID |
FAMILY_ID
Parameter for the projection family.
|
Constructor and Description |
---|
RandomProjection.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected RandomProjection<NumberVector<?>> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID FAMILY_ID
public static final OptionID DIMENSIONALITY_ID
private int dimensionality
private RandomProjectionFamily family
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected RandomProjection<NumberVector<?>> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer