Package elki.result.outlier
Class InvertedOutlierScoreMeta
- java.lang.Object
-
- elki.result.outlier.BasicOutlierScoreMeta
-
- elki.result.outlier.InvertedOutlierScoreMeta
-
- All Implemented Interfaces:
OutlierScoreMeta
public class InvertedOutlierScoreMeta extends BasicOutlierScoreMeta
Class to signal a value-inverted outlier score, i.e. low values are outliers.- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.result.outlier.BasicOutlierScoreMeta
actualMaximum, actualMinimum, theoreticalBaseline, theoreticalMaximum, theoreticalMinimum
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
normalizeScore(double value)
Return a normalized value of the outlier score.-
Methods inherited from class elki.result.outlier.BasicOutlierScoreMeta
getActualMaximum, getActualMinimum, getLongName, getShortName, getTheoreticalBaseline, getTheoreticalMaximum, getTheoreticalMinimum, setActualMaximum, setActualMinimum
-
-
-
-
Constructor Detail
-
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
-
-
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 interfaceOutlierScoreMeta
- Overrides:
normalizeScore
in classBasicOutlierScoreMeta
- Parameters:
value
- outlier score- Returns:
- Normalized value (in 0.0-1.0)
-
-