public class GammaScaling extends Object implements StaticScalingFunction
Modifier and Type | Class and Description |
---|---|
static class |
GammaScaling.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private double |
gamma
Gamma value.
|
static OptionID |
GAMMA_ID
OptionID for the gamma value.
|
Constructor and Description |
---|
GammaScaling()
Constructor without options.
|
GammaScaling(double gamma)
Constructor with Gamma value.
|
Modifier and Type | Method and Description |
---|---|
double |
getMax()
Get maximum resulting value.
|
double |
getMin()
Get minimum resulting value.
|
double |
getScaled(double d)
Transform a given value using the scaling function.
|
public static final OptionID GAMMA_ID
private double gamma
public GammaScaling()
public GammaScaling(double gamma)
gamma
- Gamma value.public double getScaled(double d)
ScalingFunction
getScaled
in interface ScalingFunction
d
- Original valuepublic double getMin()
ScalingFunction
Double.NaN
or
Double.NEGATIVE_INFINITY
.getMin
in interface ScalingFunction
public double getMax()
ScalingFunction
Double.NaN
or
Double.POSITIVE_INFINITY
.getMax
in interface ScalingFunction
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.