@Alias(value={"de.lmu.ifi.dbs.elki.evaluation.roc.ComputeROCCurve","de.lmu.ifi.dbs.elki.evaluation.ComputeROCCurve"}) public class OutlierROCCurve extends java.lang.Object implements Evaluator
-rocauc.positive
specifies the class label of
"positive" hits.
The nested algorithm -algorithm
will 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.Modifier and Type | Class and Description |
---|---|
static class |
OutlierROCCurve.Parameterizer
Parameterization class.
|
static class |
OutlierROCCurve.ROCResult
Result object for ROC curves.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger.
|
private java.util.regex.Pattern |
positiveClassName
Stores the "positive" class.
|
static java.lang.String |
ROCAUC_LABEL
The label we use for marking ROCAUC values.
|
Constructor and Description |
---|
OutlierROCCurve(java.util.regex.Pattern positive_class_name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private OutlierROCCurve.ROCResult |
computeROCResult(SetDBIDs positiveids,
DBIDs order) |
private OutlierROCCurve.ROCResult |
computeROCResult(SetDBIDs positiveids,
OutlierResult or) |
void |
processNewResult(ResultHierarchy hier,
Result result)
Process a result.
|
public static final java.lang.String ROCAUC_LABEL
private static final Logging LOG
private java.util.regex.Pattern positiveClassName
public OutlierROCCurve(java.util.regex.Pattern positive_class_name)
positive_class_name
- Positive class name patternprivate OutlierROCCurve.ROCResult computeROCResult(SetDBIDs positiveids, DBIDs order)
private OutlierROCCurve.ROCResult computeROCResult(SetDBIDs positiveids, OutlierResult or)
public void processNewResult(ResultHierarchy hier, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
hier
- The base of the result tree.result
- Newly added result subtree.Copyright © 2019 ELKI Development Team. License information.