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.Double
max
Field storing the Maximum valuestatic OptionID
MAX_ID
Parameter to specify the maximum value.static OptionID
MEAN_ID
Flag to use the mean as minimum for scaling.protected java.lang.Double
min
Field storing the Minimum to usestatic OptionID
MIN_ID
Parameter to specify a fixed minimum to use.(package private) boolean
nozeros
Ignore zero valuesstatic OptionID
NOZEROS_ID
Flag to use ignore zeros when computing the min and max.(package private) boolean
usemean
Use the mean for scaling
-
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.OutlierLinearScaling
make()
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: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 OutlierLinearScaling 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
-
-