Package elki.evaluation.outlier
Class OutlierSmROCCurve
- java.lang.Object
-
- elki.evaluation.outlier.OutlierSmROCCurve
-
- All Implemented Interfaces:
Evaluator
,ResultProcessor
@Reference(authors="W. Klement, P. A. Flach, N. Japkowicz, S. Matwin", title="Smooth Receiver Operating Characteristics (smROC) Curves", booktitle="European Conf. Machine Learning and Principles and Practice of Knowledge Discovery in Databases (ECML-PKDD\'11)", url="https://doi.org/10.1007/978-3-642-23783-6_13", bibkey="DBLP:conf/pkdd/KlementFJM11") public class OutlierSmROCCurve extends java.lang.Object implements Evaluator
Smooth ROC curves are a variation of classic ROC curves that takes the scores into account.Reference:
W. Klement, P. A. Flach, N. Japkowicz, S. Matwin
Smooth Receiver Operating Characteristics (smROC) Curves.
European Conf. Machine Learning and Principles and Practice of Knowledge Discovery in Databases (ECML-PKDD'11)However, this method has some deficiencies when the mean score is not 0.5, as discussed in:
Erich Schubert, Remigius Wojdanowski, Arthur Zimek, Hans-Peter Kriegel
On Evaluation of Outlier Rankings and Outlier Scores
Proc. 12th SIAM Int. Conf. on Data Mining (SDM 2012)- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OutlierSmROCCurve.Par
Parameterization class.static class
OutlierSmROCCurve.SmROCResult
Result object for Smooth ROC curves.
-
Field Summary
Fields Modifier and Type Field Description private static Logging
LOG
The logger.private java.util.regex.Pattern
positiveClassName
Stores the "positive" class.static java.lang.String
SMAUROC_LABEL
The label we use for marking AUROC values.
-
Constructor Summary
Constructors Constructor Description OutlierSmROCCurve(java.util.regex.Pattern positive_class_name)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private OutlierSmROCCurve.SmROCResult
computeSmROCResult(SetDBIDs positiveids, OutlierResult or)
void
processNewResult(java.lang.Object result)
Process a result.
-
-
-
Field Detail
-
SMAUROC_LABEL
public static final java.lang.String SMAUROC_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
-
computeSmROCResult
private OutlierSmROCCurve.SmROCResult computeSmROCResult(SetDBIDs positiveids, OutlierResult or)
-
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.
-
-