Class 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
    • 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void processNewResult​(java.lang.Object newResult)
      Process a result.
      • Methods inherited from class java.lang.Object

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

      • OutlierPrecisionRecallGainCurve

        public OutlierPrecisionRecallGainCurve​(java.util.regex.Pattern positiveClassName)
        Constructor.
        Parameters:
        positiveClassName - Pattern to recognize outliers
    • Method Detail

      • processNewResult

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