Package elki.utilities.scaling
Interface ScalingFunction
-
- All Known Subinterfaces:
OutlierScaling
,StaticScalingFunction
- All Known Implementing Classes:
ClipScaling
,COPOutlierScaling
,GammaScaling
,HeDESNormalizationOutlierScaling
,IdentityScaling
,LinearScaling
,LogRankingPseudoOutlierScaling
,MinusLogGammaScaling
,MinusLogScaling
,MinusLogStandardDeviationScaling
,MixtureModelOutlierScaling
,MultiplicativeInverseScaling
,OutlierGammaScaling
,OutlierLinearScaling
,OutlierMinusLogScaling
,OutlierSqrtScaling
,RankingPseudoOutlierScaling
,SigmoidOutlierScaling
,SqrtStandardDeviationScaling
,StandardDeviationScaling
,TopKOutlierScaling
public interface ScalingFunction
Interface for scaling functions used, e.g., by outlier evaluation such as Histograms and visualization.When using outlier scaling functions, make sure to invoke
prepare
to invoke the preprocessing step!Outside of an outlier context, you probably want to use
StaticScalingFunction
instead, which may not require aprepare
statement.- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getMax()
Get maximum resulting value.double
getMin()
Get minimum resulting value.double
getScaled(double value)
Transform a given value using the scaling function.
-
-
-
Method Detail
-
getScaled
double getScaled(double value)
Transform a given value using the scaling function.- Parameters:
value
- Original value- Returns:
- Scaled value
-
getMin
double getMin()
Get minimum resulting value. May beDouble.NaN
orDouble.NEGATIVE_INFINITY
.- Returns:
- Minimum resulting value.
-
getMax
double getMax()
Get maximum resulting value. May beDouble.NaN
orDouble.POSITIVE_INFINITY
.- Returns:
- Maximum resulting value.
-
-