|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.utilities.scaling.outlier.OutlierMinusLogScaling
@Reference(authors="H.-P. Kriegel, P. Kr\u00f6ger, E. Schubert, A. Zimek",
title="Interpreting and Unifying Outlier Scores",
booktitle="Proc. 11th SIAM International Conference on Data Mining (SDM), Mesa, AZ, 2011",
url="http://www.dbs.ifi.lmu.de/~zimek/publications/SDM2011/SDM11-outlier-preprint.pdf")
public class OutlierMinusLogScaling
Scaling function to invert values by computing -1 * Math.log(x)
Useful for example for scaling
ABOD, but see
MinusLogStandardDeviationScaling and MinusLogGammaScaling for
more advanced scalings for this algorithm.
| Field Summary | |
|---|---|
(package private) double |
max
Maximum value seen, set by prepare(de.lmu.ifi.dbs.elki.result.outlier.OutlierResult) |
(package private) double |
mlogmax
Maximum -log value seen, set by prepare(de.lmu.ifi.dbs.elki.result.outlier.OutlierResult) |
| Constructor Summary | |
|---|---|
OutlierMinusLogScaling()
Constructor, adhering to Parameterizable |
|
| Method Summary | |
|---|---|
double |
getMax()
Get maximum resulting value. |
double |
getMin()
Get minimum resulting value. |
double |
getScaled(double value)
Transform a given value using the scaling function. |
void |
prepare(OutlierResult or)
Prepare is called once for each data set, before getScaled() will be called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
double max
prepare(de.lmu.ifi.dbs.elki.result.outlier.OutlierResult)
double mlogmax
prepare(de.lmu.ifi.dbs.elki.result.outlier.OutlierResult)
| Constructor Detail |
|---|
public OutlierMinusLogScaling()
Parameterizable
| Method Detail |
|---|
public double getScaled(double value)
ScalingFunction
getScaled in interface ScalingFunctionvalue - Original value
public double getMin()
ScalingFunctionDouble.NaN or
Double.NEGATIVE_INFINITY.
getMin in interface ScalingFunctionpublic double getMax()
ScalingFunctionDouble.NaN or
Double.POSITIVE_INFINITY.
getMax in interface ScalingFunctionpublic void prepare(OutlierResult or)
OutlierScalingFunction
prepare in interface OutlierScalingFunctionor - Outlier result to use
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||