Package elki.evaluation.outlier
Class OutlierPrecisionRecallGainCurve
- java.lang.Object
-
- elki.evaluation.outlier.OutlierPrecisionRecallGainCurve
-
- All Implemented Interfaces:
Evaluator
,ResultProcessor
@Reference(authors="P. Flach and M. Knull", title="Precision-Recall-Gain Curves: {PR} Analysis Done Right", booktitle="Neural Information Processing Systems (NIPS 2015)", url="http://papers.nips.cc/paper/5867-precision-recall-gain-curves-pr-analysis-done-right", bibkey="DBLP:conf/nips/FlachK15") public class OutlierPrecisionRecallGainCurve extends java.lang.Object implements Evaluator
Compute a curve containing the precision gain and revall gain values for an outlier detection method.References:
P. Flach and M. Knull
Precision-Recall-Gain Curves: PR Analysis Done Right
Neural Information Processing Systems (NIPS 2015)- Since:
- 0.8.0
- Author:
- Robert Gehde
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OutlierPrecisionRecallGainCurve.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUPRGC_LABEL
AUC Label for PRG Curve.private static Logging
LOG
The logger.private java.util.regex.Pattern
positiveClassName
Pattern for the positive class.
-
Constructor Summary
Constructors Constructor Description OutlierPrecisionRecallGainCurve(java.util.regex.Pattern positiveClassName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processNewResult(java.lang.Object newResult)
Process a result.
-
-
-
Field Detail
-
AUPRGC_LABEL
public static final java.lang.String AUPRGC_LABEL
AUC Label for PRG Curve.- See Also:
- Constant Field Values
-
LOG
private static final Logging LOG
The logger.
-
positiveClassName
private java.util.regex.Pattern positiveClassName
Pattern for the positive class.
-
-
Method Detail
-
processNewResult
public void processNewResult(java.lang.Object newResult)
Description copied from interface:ResultProcessor
Process a result.- Specified by:
processNewResult
in interfaceResultProcessor
- Parameters:
newResult
- Newly added result subtree.
-
-