de.lmu.ifi.dbs.elki.result.outlier
Class InvertedOutlierScoreMeta
java.lang.Object
de.lmu.ifi.dbs.elki.result.outlier.BasicOutlierScoreMeta
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvertedOutlierScoreMeta
public InvertedOutlierScoreMeta(double actualMinimum,
double actualMaximum,
double theoreticalMinimum,
double theoreticalMaximum,
double theoreticalBaseline)
- Constructor with all values.
- Parameters:
actualMinimum
- Actual minimum in dataactualMaximum
- Actual maximum in datatheoreticalMinimum
- Theoretical minimum of algorithmtheoreticalMaximum
- Theoretical maximum of algorithmtheoreticalBaseline
- Theoretical Baseline
InvertedOutlierScoreMeta
public InvertedOutlierScoreMeta(double actualMinimum,
double actualMaximum,
double theoreticalMinimum,
double theoreticalMaximum)
- Constructor with range values.
- Parameters:
actualMinimum
- Actual minimum in dataactualMaximum
- Actual maximum in datatheoreticalMinimum
- Theoretical minimum of algorithmtheoreticalMaximum
- Theoretical maximum of algorithm
InvertedOutlierScoreMeta
public InvertedOutlierScoreMeta(double actualMinimum,
double actualMaximum)
- Constructor with actual range only.
- Parameters:
actualMinimum
- Actual minimum in dataactualMaximum
- Actual maximum in data
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)