Environment for
Supported by Index-Structures

Class MinusLogStandardDeviationScaling

  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.scaling.outlier.StandardDeviationScaling
          extended by de.lmu.ifi.dbs.elki.utilities.scaling.outlier.MinusLogStandardDeviationScaling
All Implemented Interfaces:
Parameterizable, OutlierScalingFunction, ScalingFunction

public class MinusLogStandardDeviationScaling
extends StandardDeviationScaling
implements OutlierScalingFunction

Scaling that can map arbitrary values to a probability in the range of [0:1]. Transformation is done using the formula max(0, erf(lambda * (x - mean) / (stddev * sqrt(2)))) Where mean can be fixed to a given value, and stddev is then computed against this mean.

Erich Schubert

Field Summary
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.scaling.outlier.StandardDeviationScaling
factor, fixedmean, lambda, LAMBDA_ID, mean, MEAN_ID
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
Constructor Summary
MinusLogStandardDeviationScaling(Parameterization config)
          Constructor, adhering to Parameterizable
Method Summary
 double getScaled(double value)
          Transform a given value using the scaling function.
 void prepare(Database<?> db, Result result, OutlierResult or)
          Prepare is called once for each data set, before getScaled() will be called.
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.scaling.outlier.StandardDeviationScaling
getMax, getMin
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.scaling.ScalingFunction
getMax, getMin

Constructor Detail


public MinusLogStandardDeviationScaling(Parameterization config)
Constructor, adhering to Parameterizable

config - Parameterization
Method Detail


public double getScaled(double value)
Description copied from interface: ScalingFunction
Transform a given value using the scaling function.

Specified by:
getScaled in interface ScalingFunction
getScaled in class StandardDeviationScaling
value - Original value
Scaled value


public void prepare(Database<?> db,
                    Result result,
                    OutlierResult or)
Description copied from interface: OutlierScalingFunction
Prepare is called once for each data set, before getScaled() will be called. This function can be used to extract global parameters such as means, minimums or maximums from the Database, Result or Annotation.

Specified by:
prepare in interface OutlierScalingFunction
prepare in class StandardDeviationScaling
db - Database used
result - Result object
or - Outlier result to use

Release 0.3 (2010-03-31_1612)