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[]maximaStores the maximum in each dimension.static OptionIDMAXIMA_IDParameter for maximum.private double[]minimaStores the minimum in each dimension.static OptionIDMINIMA_IDParameter for minimum.protected PerturbationFilter.NoiseDistributionnoisedistributionThe option which nature of noise distribution to choose.static OptionIDNOISEDISTRIBUTION_IDParameter for selecting the noise distribution.protected doublepercentagePercentage 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 OptionIDPERCENTAGE_IDOptional 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.ScalingReferencescalingreferenceThe option which reference to use for scaling the noise.static OptionIDSCALINGREFERENCE_IDParameter for selecting scaling reference.protected java.lang.LongseedSeed for randomly shuffling the rows of the database.static OptionIDSEED_IDOptional 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 voidconfigure(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: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- Parameters:
config- Parameterization
-
make
public PerturbationFilter<V> 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.- Specified by:
makein interfaceParameterizer- Returns:
- a new instance
-
-