public class BasicOutlierScoreMeta extends Object implements OutlierScoreMeta
OutlierScoreMeta
interface.Modifier and Type | Field and Description |
---|---|
(package private) double |
actualMaximum
Store the actual maximum
|
(package private) double |
actualMinimum
Store the actual minimum
|
(package private) double |
theoreticalBaseline
Store the theoretical baseline
|
(package private) double |
theoreticalMaximum
Store the theoretical maximum
|
(package private) double |
theoreticalMinimum
Store the theoretical minimum
|
Constructor and Description |
---|
BasicOutlierScoreMeta(double actualMinimum,
double actualMaximum)
Constructor with actual values only.
|
BasicOutlierScoreMeta(double actualMinimum,
double actualMaximum,
double theoreticalMinimum,
double theoreticalMaximum)
Constructor with all range values
|
BasicOutlierScoreMeta(double actualMinimum,
double actualMaximum,
double theoreticalMinimum,
double theoreticalMaximum,
double theoreticalBaseline)
Full constructor - all values.
|
Modifier and Type | Method and Description |
---|---|
double |
getActualMaximum()
Get the actual maximum of the value range.
|
double |
getActualMinimum()
Get the actual minimum of the value range.
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
String |
getShortName()
A short name for the result, useful for file names.
|
double |
getTheoreticalBaseline()
Get the theoretical baseline of the value range.
|
double |
getTheoreticalMaximum()
Get the theoretical maximum of the value range.
|
double |
getTheoreticalMinimum()
Get the theoretical minimum of the value range.
|
double |
normalizeScore(double value)
Return a normalized value of the outlier score.
|
void |
setActualMaximum(double actualMaximum) |
void |
setActualMinimum(double actualMinimum) |
double actualMinimum
double actualMaximum
double theoreticalMinimum
double theoreticalMaximum
double theoreticalBaseline
public BasicOutlierScoreMeta(double actualMinimum, double actualMaximum)
actualMinimum
- actual minimumactualMaximum
- actual maximumpublic BasicOutlierScoreMeta(double actualMinimum, double actualMaximum, double theoreticalMinimum, double theoreticalMaximum)
actualMinimum
- actual minimumactualMaximum
- actual maximumtheoreticalMinimum
- theoretical minimumtheoreticalMaximum
- theoretical maximumpublic BasicOutlierScoreMeta(double actualMinimum, double actualMaximum, double theoreticalMinimum, double theoreticalMaximum, double theoreticalBaseline)
actualMinimum
- actual minimumactualMaximum
- actual maximumtheoreticalMinimum
- theoretical minimumtheoreticalMaximum
- theoretical maximumtheoreticalBaseline
- theoretical baselinepublic double getActualMaximum()
OutlierScoreMeta
getActualMaximum
in interface OutlierScoreMeta
Double.NaN
public double getActualMinimum()
OutlierScoreMeta
getActualMinimum
in interface OutlierScoreMeta
Double.NaN
public double getTheoreticalBaseline()
OutlierScoreMeta
Double.POSITIVE_INFINITY
here.getTheoreticalBaseline
in interface OutlierScoreMeta
Double.NaN
public double getTheoreticalMaximum()
OutlierScoreMeta
Double.NEGATIVE_INFINITY
or Double.NaN
.getTheoreticalMaximum
in interface OutlierScoreMeta
Double.NaN
public double getTheoreticalMinimum()
OutlierScoreMeta
getTheoreticalMinimum
in interface OutlierScoreMeta
Double.NaN
public double normalizeScore(double value)
OutlierScoreMeta
normalizeScore
in interface OutlierScoreMeta
value
- outlier scorepublic void setActualMinimum(double actualMinimum)
actualMinimum
- the actualMinimum to setpublic void setActualMaximum(double actualMaximum)
actualMaximum
- the actualMaximum to setpublic String getLongName()
Result
getLongName
in interface Result
public String getShortName()
Result
getShortName
in interface Result
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.