
public class ClipScaling extends Object implements StaticScalingFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
ClipScaling.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
private Double |
max
Field storing the maximum to use
|
static OptionID |
MAX_ID
Parameter to specify the maximum value
Key:
-clipscale.max
|
private Double |
min
Field storing the minimum to use
|
static OptionID |
MIN_ID
Parameter to specify a fixed minimum to use.
|
| Constructor and Description |
|---|
ClipScaling(Double min,
Double max)
Constructor.
|
public static final OptionID MIN_ID
Key: -clipscale.min
public static final OptionID MAX_ID
Key: -clipscale.max
private Double min
private Double max
public double getScaled(double value)
ScalingFunctiongetScaled in interface ScalingFunctionvalue - Original valuepublic double getMin()
ScalingFunctionDouble.NaN or
Double.NEGATIVE_INFINITY.getMin in interface ScalingFunctionpublic double getMax()
ScalingFunctionDouble.NaN or
Double.POSITIVE_INFINITY.getMax in interface ScalingFunctionCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.