public static class EvaluationResult.Measurement extends Object
Modifier and Type | Field and Description |
---|---|
(package private) double |
exp
Observed value, minimum, maximum, expected value.
|
private boolean |
lowerisbetter
Indicates low values are better.
|
(package private) double |
max
Observed value, minimum, maximum, expected value.
|
(package private) double |
min
Observed value, minimum, maximum, expected value.
|
(package private) String |
name
Measurement name.
|
(package private) double |
val
Observed value, minimum, maximum, expected value.
|
Modifier | Constructor and Description |
---|---|
protected |
Measurement(String name,
double val,
double min,
double max,
boolean lowerisbetter)
Constructor.
|
protected |
Measurement(String name,
double val,
double min,
double max,
double exp,
boolean lowerisbetter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getExp()
Get the expected value.
|
double |
getMax()
Get the maximum value.
|
double |
getMin()
Get the minimum value.
|
String |
getName()
Get the name of this measurement.
|
double |
getVal()
Get the observed value.
|
boolean |
lowerIsBetter()
Return
true if low values are better. |
String name
double val
double min
double max
double exp
private boolean lowerisbetter
protected Measurement(String name, double val, double min, double max, boolean lowerisbetter)
name
- Nameval
- Valuemin
- Minimummax
- Maximumlowerisbetter
- Flagprotected Measurement(String name, double val, double min, double max, double exp, boolean lowerisbetter)
name
- Nameval
- Valuemin
- Minimummax
- Maximumexp
- Expected valuelowerisbetter
- Flagpublic String getName()
public double getVal()
public double getMin()
public double getMax()
public double getExp()
Double.NaN
.public boolean lowerIsBetter()
true
if low values are better.true
when low values are better.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.