Package elki.utilities.scaling.outlier
Class OutlierLinearScaling.Par
- java.lang.Object
-
- elki.utilities.scaling.outlier.OutlierLinearScaling.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- OutlierLinearScaling
public static class OutlierLinearScaling.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.DoublemaxField storing the Maximum valuestatic OptionIDMAX_IDParameter to specify the maximum value.static OptionIDMEAN_IDFlag to use the mean as minimum for scaling.protected java.lang.DoubleminField storing the Minimum to usestatic OptionIDMIN_IDParameter to specify a fixed minimum to use.(package private) booleannozerosIgnore zero valuesstatic OptionIDNOZEROS_IDFlag to use ignore zeros when computing the min and max.(package private) booleanusemeanUse the mean for scaling
-
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.OutlierLinearScalingmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
MIN_ID
public static final OptionID MIN_ID
Parameter to specify a fixed minimum to use.
-
MAX_ID
public static final OptionID MAX_ID
Parameter to specify the maximum value.
-
MEAN_ID
public static final OptionID MEAN_ID
Flag to use the mean as minimum for scaling.
-
NOZEROS_ID
public static final OptionID NOZEROS_ID
Flag to use ignore zeros when computing the min and max.
-
min
protected java.lang.Double min
Field storing the Minimum to use
-
max
protected java.lang.Double max
Field storing the Maximum value
-
usemean
boolean usemean
Use the mean for scaling
-
nozeros
boolean nozeros
Ignore zero values
-
-
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 OutlierLinearScaling 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
-
-