|
||||||||||
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.outlier.RankingPseudoOutlierScaling
public class RankingPseudoOutlierScaling
This is a pseudo outlier scoring obtained by only considering the ranks of the objects. However, the ranks are not mapped linearly to scores, but using a normal distribution.
Field Summary | |
---|---|
private boolean |
inverted
Use inverted ranking |
private double[] |
scores
The actual scores |
Constructor Summary | |
---|---|
RankingPseudoOutlierScaling()
|
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 |
---|
private double[] scores
private boolean inverted
Constructor Detail |
---|
public RankingPseudoOutlierScaling()
Method Detail |
---|
public void prepare(OutlierResult or)
OutlierScalingFunction
prepare
in interface OutlierScalingFunction
or
- Outlier result to usepublic double getMax()
ScalingFunction
Double.NaN
or
Double.POSITIVE_INFINITY
.
getMax
in interface ScalingFunction
public double getMin()
ScalingFunction
Double.NaN
or
Double.NEGATIVE_INFINITY
.
getMin
in interface ScalingFunction
public double getScaled(double value)
ScalingFunction
getScaled
in interface ScalingFunction
value
- Original value
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |