Class 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.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.

    Since:
    0.2
    Author:
    Erich Schubert
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  OutlierROCCurve.Par
      Parameterization class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AUROC_LABEL
      The label we use for marking AUROC values.
      private static Logging LOG
      The logger.
      private java.util.regex.Pattern positiveClassName
      Stores 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
      void processNewResult​(java.lang.Object result)
      Process a result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Constructor Detail

      • OutlierROCCurve

        public OutlierROCCurve​(java.util.regex.Pattern positive_class_name)
        Constructor.
        Parameters:
        positive_class_name - Positive class name pattern
    • Method Detail

      • processNewResult

        public void processNewResult​(java.lang.Object result)
        Description copied from interface: ResultProcessor
        Process a result.
        Specified by:
        processNewResult in interface ResultProcessor
        Parameters:
        result - Newly added result subtree.