public class OutlierPrecisionRecallCurve extends 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.
|
static OptionID |
POSITIVE_CLASS_NAME_ID
The pattern to identify positive classes.
|
private Pattern |
positiveClassName
Stores the "positive" class.
|
Constructor and Description |
---|
OutlierPrecisionRecallCurve(Pattern positiveClassName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private XYCurve |
computePrecisionResult(int size,
SetDBIDs ids,
DBIDIter iter,
Relation<Double> scores) |
void |
processNewResult(HierarchicalResult baseResult,
Result result)
Process a result.
|
private static final Logging LOG
public static final OptionID POSITIVE_CLASS_NAME_ID
Key: -precision.positive
private Pattern positiveClassName
public OutlierPrecisionRecallCurve(Pattern positiveClassName)
positiveClassName
- Pattern to recognize outlierspublic void processNewResult(HierarchicalResult baseResult, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
baseResult
- The base of the result tree.result
- Newly added result subtree.