Package elki.evaluation.outlier
Class OutlierPrecisionAtKCurve
- java.lang.Object
-
- elki.evaluation.outlier.OutlierPrecisionAtKCurve
-
- All Implemented Interfaces:
Evaluator
,ResultProcessor
public class OutlierPrecisionAtKCurve extends java.lang.Object implements Evaluator
Compute a curve containing the precision values for an outlier detection method.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OutlierPrecisionAtKCurve.Par
Parameterization class.static class
OutlierPrecisionAtKCurve.PrecisionAtKCurve
Precision at K curve.
-
Field Summary
Fields Modifier and Type Field Description private static Logging
LOG
The logger.private int
maxk
Maximum value for kprivate java.util.regex.Pattern
positiveClassName
Stores the "positive" class.
-
Constructor Summary
Constructors Constructor Description OutlierPrecisionAtKCurve(java.util.regex.Pattern positiveClassName, int maxk)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private XYCurve
computePrecisionResult(int size, SetDBIDs positiveids, DBIDs order)
void
processNewResult(java.lang.Object result)
Process a result.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
The logger.
-
positiveClassName
private java.util.regex.Pattern positiveClassName
Stores the "positive" class.
-
maxk
private int maxk
Maximum value for k
-
-
Method Detail
-
processNewResult
public void processNewResult(java.lang.Object result)
Description copied from interface:ResultProcessor
Process a result.- Specified by:
processNewResult
in interfaceResultProcessor
- Parameters:
result
- Newly added result subtree.
-
-