|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.utilities.scaling.GammaScaling
public class GammaScaling
Non-linear scaling function using a Gamma curve.
Nested Class Summary | |
---|---|
static class |
GammaScaling.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
private double |
gamma
Gamma value. |
static OptionID |
GAMMA_ID
OptionID for the gamma value. |
Constructor Summary | |
---|---|
GammaScaling()
Constructor without options. |
|
GammaScaling(double gamma)
Constructor with Gamma value. |
Method Summary | |
---|---|
double |
getMax()
Get maximum resulting value. |
double |
getMin()
Get minimum resulting value. |
double |
getScaled(double d)
Transform a given value using the scaling function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OptionID GAMMA_ID
private double gamma
Constructor Detail |
---|
public GammaScaling()
public GammaScaling(double gamma)
gamma
- Gamma value.Method Detail |
---|
public double getScaled(double d)
ScalingFunction
getScaled
in interface ScalingFunction
d
- Original value
public 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
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |