public class OutlierPrecisionAtKCurve extends 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 Pattern |
positiveClassName
Stores the "positive" class.
|
Constructor and Description |
---|
OutlierPrecisionAtKCurve(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 Pattern positiveClassName
private int maxk
public OutlierPrecisionAtKCurve(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 © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.