de.lmu.ifi.dbs.elki.result.outlier
Class InvertedOutlierScoreMeta

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.result.outlier.BasicOutlierScoreMeta
      extended by de.lmu.ifi.dbs.elki.result.outlier.InvertedOutlierScoreMeta
All Implemented Interfaces:
OutlierScoreMeta, Result

public class InvertedOutlierScoreMeta
extends BasicOutlierScoreMeta

Class to signal a value-inverted outlier score, i.e. low values are outliers.


Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.result.outlier.BasicOutlierScoreMeta
actualMaximum, actualMinimum, theoreticalBaseline, theoreticalMaximum, theoreticalMinimum
 
Constructor Summary
InvertedOutlierScoreMeta(double actualMinimum, double actualMaximum)
          Constructor with actual range only.
InvertedOutlierScoreMeta(double actualMinimum, double actualMaximum, double theoreticalMinimum, double theoreticalMaximum)
          Constructor with range values.
InvertedOutlierScoreMeta(double actualMinimum, double actualMaximum, double theoreticalMinimum, double theoreticalMaximum, double theoreticalBaseline)
          Constructor with all values.
 
Method Summary
 double normalizeScore(double value)
          Return a normalized value of the outlier score.
 
Methods inherited from class de.lmu.ifi.dbs.elki.result.outlier.BasicOutlierScoreMeta
getActualMaximum, getActualMinimum, getLongName, getShortName, getTheoreticalBaseline, getTheoreticalMaximum, getTheoreticalMinimum, setActualMaximum, setActualMinimum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvertedOutlierScoreMeta

public InvertedOutlierScoreMeta(double actualMinimum,
                                double actualMaximum,
                                double theoreticalMinimum,
                                double theoreticalMaximum,
                                double theoreticalBaseline)
Constructor with all values.

Parameters:
actualMinimum - Actual minimum in data
actualMaximum - Actual maximum in data
theoreticalMinimum - Theoretical minimum of algorithm
theoreticalMaximum - Theoretical maximum of algorithm
theoreticalBaseline - Theoretical Baseline

InvertedOutlierScoreMeta

public InvertedOutlierScoreMeta(double actualMinimum,
                                double actualMaximum,
                                double theoreticalMinimum,
                                double theoreticalMaximum)
Constructor with range values.

Parameters:
actualMinimum - Actual minimum in data
actualMaximum - Actual maximum in data
theoreticalMinimum - Theoretical minimum of algorithm
theoreticalMaximum - Theoretical maximum of algorithm

InvertedOutlierScoreMeta

public InvertedOutlierScoreMeta(double actualMinimum,
                                double actualMaximum)
Constructor with actual range only.

Parameters:
actualMinimum - Actual minimum in data
actualMaximum - Actual maximum in data
Method Detail

normalizeScore

public double normalizeScore(double value)
Description copied from interface: OutlierScoreMeta
Return a normalized value of the outlier score.

Specified by:
normalizeScore in interface OutlierScoreMeta
Overrides:
normalizeScore in class BasicOutlierScoreMeta
Parameters:
value - outlier score
Returns:
Normalized value (in 0.0-1.0)

Release 0.4.0 (2011-09-20_1324)