Class OutlierPrecisionAtKCurve

  • All Implemented Interfaces:
    elki.evaluation.Evaluator, elki.result.ResultProcessor

    public class OutlierPrecisionAtKCurve
    extends java.lang.Object
    implements elki.evaluation.Evaluator
    Compute a curve containing the precision values for an outlier detection method.
    Since:
    0.5.0
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static elki.logging.Logging LOG
      The logger.
      private int maxk
      Maximum value for k
      private java.util.regex.Pattern positiveClassName
      Stores the "positive" class.
    • Constructor Summary

      Constructors 
      Constructor Description
      OutlierPrecisionAtKCurve​(java.util.regex.Pattern positiveClassName, int maxk)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private elki.math.geometry.XYCurve computePrecisionResult​(int size, elki.database.ids.SetDBIDs positiveids, elki.database.ids.DBIDs order)  
      void processNewResult​(java.lang.Object result)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final elki.logging.Logging LOG
        The logger.
      • positiveClassName

        private java.util.regex.Pattern positiveClassName
        Stores the "positive" class.
      • maxk

        private int maxk
        Maximum value for k
    • Constructor Detail

      • OutlierPrecisionAtKCurve

        public OutlierPrecisionAtKCurve​(java.util.regex.Pattern positiveClassName,
                                        int maxk)
        Constructor.
        Parameters:
        positiveClassName - Pattern to recognize outliers
        maxk - Maximum value for k
    • Method Detail

      • processNewResult

        public void processNewResult​(java.lang.Object result)
        Specified by:
        processNewResult in interface elki.result.ResultProcessor
      • computePrecisionResult

        private elki.math.geometry.XYCurve computePrecisionResult​(int size,
                                                                  elki.database.ids.SetDBIDs positiveids,
                                                                  elki.database.ids.DBIDs order)