public static class NumberVectorRandomFeatureSelectionFilter.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected int |
k
Number of attributes to select.
|
static OptionID |
NUMBER_SELECTED_ATTRIBUTES_ID
Parameter for the desired cardinality of the subset of attributes
selected for projection.
|
protected RandomFactory |
rnd
Random generator.
|
static OptionID |
SEED_ID
Optional parameter to specify a seed for random projection.
|
Constructor and Description |
---|
NumberVectorRandomFeatureSelectionFilter.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected NumberVectorRandomFeatureSelectionFilter<DoubleVector> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID NUMBER_SELECTED_ATTRIBUTES_ID
Key: -randomprojection.numberselected
Default: 1
Constraint: ≥1
public static final OptionID SEED_ID
Key: -randomprojection.seed
protected int k
protected RandomFactory rnd
public NumberVectorRandomFeatureSelectionFilter.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected NumberVectorRandomFeatureSelectionFilter<DoubleVector> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.