public static class OutlierPrecisionRecallCurve.PRCurve extends XYCurve
XYCurve.Itr
Modifier and Type | Field and Description |
---|---|
(package private) double |
auc
Area under curve
|
(package private) int |
positive
Number of positive observations
|
static String |
PRAUC_LABEL
AUC value for PR curve
|
Constructor and Description |
---|
OutlierPrecisionRecallCurve.PRCurve(int size,
int positive)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAUC()
Get AUC value
|
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.
|
void |
writeToText(TextWriterStream out,
String label)
Write self to the given
TextWriterStream |
public static final String PRAUC_LABEL
double auc
int positive
public OutlierPrecisionRecallCurve.PRCurve(int size, int positive)
size
- Size estimationpositive
- Number of positive elements (for AUC correction)public String getLongName()
Result
getLongName
in interface Result
getLongName
in class XYCurve
public String getShortName()
Result
getShortName
in interface Result
getShortName
in class XYCurve
public double getAUC()
public void writeToText(TextWriterStream out, String label)
TextWriteable
TextWriterStream
writeToText
in interface TextWriteable
writeToText
in class XYCurve
out
- Output writerlabel
- LabelCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.