Package elki.evaluation.outlier
Class OutlierROCCurve
- java.lang.Object
-
- elki.evaluation.outlier.OutlierROCCurve
-
- All Implemented Interfaces:
Evaluator,ResultProcessor
public class OutlierROCCurve extends java.lang.Object implements Evaluator
Compute a ROC curve to evaluate a ranking algorithm and compute the corresponding AUROC value.The parameter
-AUROC.positivespecifies the class label of "positive" hits.The nested algorithm
-algorithmwill be run, the result will be searched for an iterable or ordering result, which then is compared with the clustering obtained via the given class label.- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutlierROCCurve.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUROC_LABELThe label we use for marking AUROC values.private static LoggingLOGThe logger.private java.util.regex.PatternpositiveClassNameStores the "positive" class.
-
Constructor Summary
Constructors Constructor Description OutlierROCCurve(java.util.regex.Pattern positive_class_name)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessNewResult(java.lang.Object result)Process a result.
-
-
-
Field Detail
-
AUROC_LABEL
public static final java.lang.String AUROC_LABEL
The label we use for marking AUROC values.- See Also:
- Constant Field Values
-
LOG
private static final Logging LOG
The logger.
-
positiveClassName
private java.util.regex.Pattern positiveClassName
Stores the "positive" class.
-
-
Method Detail
-
processNewResult
public void processNewResult(java.lang.Object result)
Description copied from interface:ResultProcessorProcess a result.- Specified by:
processNewResultin interfaceResultProcessor- Parameters:
result- Newly added result subtree.
-
-