public class OutlierPrecisionRecallCurve extends java.lang.Object implements Evaluator
Modifier and Type | Class and Description |
---|---|
static class |
OutlierPrecisionRecallCurve.Parameterizer
Parameterization class.
|
static class |
OutlierPrecisionRecallCurve.PRCurve
P/R Curve
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger.
|
private java.util.regex.Pattern |
positiveClassName
Stores the "positive" class.
|
static java.lang.String |
PRAUC_LABEL
AUC value for PR curve
|
Constructor and Description |
---|
OutlierPrecisionRecallCurve(java.util.regex.Pattern positiveClassName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private OutlierPrecisionRecallCurve.PRCurve |
computePrecisionResult(SetDBIDs ids,
DBIDIter iter,
DoubleRelation scores) |
void |
processNewResult(ResultHierarchy hier,
Result result)
Process a result.
|
public static final java.lang.String PRAUC_LABEL
private static final Logging LOG
private java.util.regex.Pattern positiveClassName
public OutlierPrecisionRecallCurve(java.util.regex.Pattern positiveClassName)
positiveClassName
- Pattern to recognize outlierspublic void processNewResult(ResultHierarchy hier, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
hier
- The base of the result tree.result
- Newly added result subtree.private OutlierPrecisionRecallCurve.PRCurve computePrecisionResult(SetDBIDs ids, DBIDIter iter, DoubleRelation scores)
Copyright © 2019 ELKI Development Team. License information.