public class OutlierPrecisionAtKCurve extends java.lang.Object implements Evaluator
Modifier and Type | Class and Description |
---|---|
static class |
OutlierPrecisionAtKCurve.Parameterizer
Parameterization class.
|
static class |
OutlierPrecisionAtKCurve.PrecisionAtKCurve
Precision at K curve.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger.
|
private int |
maxk
Maximum value for k
|
private java.util.regex.Pattern |
positiveClassName
Stores the "positive" class.
|
Constructor and Description |
---|
OutlierPrecisionAtKCurve(java.util.regex.Pattern positiveClassName,
int maxk)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private XYCurve |
computePrecisionResult(int size,
SetDBIDs positiveids,
DBIDs order) |
void |
processNewResult(ResultHierarchy hier,
Result result)
Process a result.
|
private static final Logging LOG
private java.util.regex.Pattern positiveClassName
private int maxk
public OutlierPrecisionAtKCurve(java.util.regex.Pattern positiveClassName, int maxk)
positiveClassName
- Pattern to recognize outliersmaxk
- Maximum value for kpublic void processNewResult(ResultHierarchy hier, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
hier
- The base of the result tree.result
- Newly added result subtree.Copyright © 2019 ELKI Development Team. License information.