public class GammaScaling extends java.lang.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.
|
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 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 © 2019 ELKI Development Team. License information.