@Reference(authors="Hans-Peter Kriegel, Peer Kr\u00f6ger, Erich Schubert, Arthur Zimek", title="Interpreting and Unifying Outlier Scores", booktitle="Proc. 11th SIAM International Conference on Data Mining (SDM 2011)", url="https://doi.org/10.1137/1.9781611972818.2", bibkey="DBLP:conf/sdm/KriegelKSZ11") public class SqrtStandardDeviationScaling extends java.lang.Object implements OutlierScaling
Transformation is done using the formulas \[y = \sqrt{x - \min}\] \[s = \max\{0, \textrm{erf}(\lambda \frac{y-\mu}{\sigma\sqrt{2}})\}\]
Where min and mean \(\mu\) can be fixed to a given value, and stddev \(\sigma\) is then computed against this mean.
Reference:
Hans-Peter Kriegel, Peer Kröger, Erich Schubert, Arthur Zimek
Interpreting and Unifying Outlier Scores
Proc. 11th SIAM International Conference on Data Mining (SDM 2011)
| Modifier and Type | Class and Description |
|---|---|
static class |
SqrtStandardDeviationScaling.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) double |
factor
Effective parameters.
|
(package private) double |
mean
Effective parameters.
|
(package private) double |
min
Effective parameters.
|
(package private) double |
plambda
Predefined lambda scaling factor.
|
(package private) double |
pmean
Pre-fixed minimum and mean.
|
(package private) double |
pmin
Pre-fixed minimum and mean.
|
| Constructor and Description |
|---|
SqrtStandardDeviationScaling(double pmin,
double pmean,
double plambda)
Constructor.
|
| Modifier and Type | Method and 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.
|
<A> void |
prepare(A array,
NumberArrayAdapter<?,A> adapter)
Prepare is called once for each data set, before getScaled() will be
called.
|
void |
prepare(OutlierResult or)
Prepare is called once for each data set, before getScaled() will be
called.
|
double min
double mean
double factor
double pmin
double pmean
double plambda
public SqrtStandardDeviationScaling(double pmin,
double pmean,
double plambda)
pmin - Predefined minimumpmean - Predefined meanplambda - Lambda parameterpublic double getScaled(double value)
ScalingFunctiongetScaled in interface ScalingFunctionvalue - Original valuepublic void prepare(OutlierResult or)
OutlierScalingprepare in interface OutlierScalingor - Outlier result to usepublic <A> void prepare(A array,
NumberArrayAdapter<?,A> adapter)
OutlierScalingOutlierResult is preferred, as it will
allow access to the metadata.prepare in interface OutlierScalingarray - Data to processadapter - Array adapterpublic double getMin()
ScalingFunctionDouble.NaN or
Double.NEGATIVE_INFINITY.getMin in interface ScalingFunctionpublic double getMax()
ScalingFunctionDouble.NaN or
Double.POSITIVE_INFINITY.getMax in interface ScalingFunctionCopyright © 2019 ELKI Development Team. License information.