Package elki.datasource.filter.transform
Class PerturbationFilter.Par<V extends NumberVector>
- java.lang.Object
-
- elki.datasource.filter.transform.PerturbationFilter.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- PerturbationFilter<V extends NumberVector>
public static class PerturbationFilter.Par<V extends NumberVector> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Arthur Zimek
-
-
Field Summary
Fields Modifier and Type Field Description private double[]
maxima
Stores the maximum in each dimension.static OptionID
MAXIMA_ID
Parameter for maximum.private double[]
minima
Stores the minimum in each dimension.static OptionID
MINIMA_ID
Parameter for minimum.protected PerturbationFilter.NoiseDistribution
noisedistribution
The option which nature of noise distribution to choose.static OptionID
NOISEDISTRIBUTION_ID
Parameter for selecting the noise distribution.protected double
percentage
Percentage of the variance of the random Gaussian noise generation or of the range of the uniform distribution, given the variance of the corresponding attribute in the data.static OptionID
PERCENTAGE_ID
Optional parameter to specify a percentage of the standard deviation of the random Gaussian noise generation, given the standard deviation of the corresponding attribute in the original data distribution (assuming a Gaussian there).protected PerturbationFilter.ScalingReference
scalingreference
The option which reference to use for scaling the noise.static OptionID
SCALINGREFERENCE_ID
Parameter for selecting scaling reference.protected java.lang.Long
seed
Seed for randomly shuffling the rows of the database.static OptionID
SEED_ID
Optional parameter to specify a seed for random Gaussian noise generation.
-
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.PerturbationFilter<V>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
MINIMA_ID
public static final OptionID MINIMA_ID
Parameter for minimum.
-
MAXIMA_ID
public static final OptionID MAXIMA_ID
Parameter for maximum.
-
maxima
private double[] maxima
Stores the maximum in each dimension.
-
minima
private double[] minima
Stores the minimum in each dimension.
-
SEED_ID
public static final OptionID SEED_ID
Optional parameter to specify a seed for random Gaussian noise generation. If unused, system time is used as seed.
-
seed
protected java.lang.Long seed
Seed for randomly shuffling the rows of the database. If null, system time is used as seed.
-
PERCENTAGE_ID
public static final OptionID PERCENTAGE_ID
Optional parameter to specify a percentage of the standard deviation of the random Gaussian noise generation, given the standard deviation of the corresponding attribute in the original data distribution (assuming a Gaussian there).
-
SCALINGREFERENCE_ID
public static final OptionID SCALINGREFERENCE_ID
Parameter for selecting scaling reference.
-
NOISEDISTRIBUTION_ID
public static final OptionID NOISEDISTRIBUTION_ID
Parameter for selecting the noise distribution.
-
percentage
protected double percentage
Percentage of the variance of the random Gaussian noise generation or of the range of the uniform distribution, given the variance of the corresponding attribute in the data.
-
scalingreference
protected PerturbationFilter.ScalingReference scalingreference
The option which reference to use for scaling the noise.
-
noisedistribution
protected PerturbationFilter.NoiseDistribution noisedistribution
The option which nature of noise distribution to choose.
-
-
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 PerturbationFilter<V> 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
-
-