Class OutlierRankingEvaluation

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

    public class OutlierRankingEvaluation
    extends java.lang.Object
    implements elki.evaluation.Evaluator
    Evaluate outlier scores by their ranking
    Since:
    0.7.0
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String key
      Key prefix for statistics logging.
      private static elki.logging.Logging LOG
      The logger.
      private java.util.regex.Pattern positiveClassName
      Stores the "positive" class.
    • Constructor Summary

      Constructors 
      Constructor Description
      OutlierRankingEvaluation​(java.util.regex.Pattern positive_class_name)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void evaluate​(elki.result.EvaluationResult res, int size, int pos, java.util.function.Supplier<elki.evaluation.scores.ScoreEvaluation.Adapter> adapter)
      Produce various evaluation statistics
      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.
      • key

        private java.lang.String key
        Key prefix for statistics logging.
    • Constructor Detail

      • OutlierRankingEvaluation

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

      • evaluate

        private void evaluate​(elki.result.EvaluationResult res,
                              int size,
                              int pos,
                              java.util.function.Supplier<elki.evaluation.scores.ScoreEvaluation.Adapter> adapter)
        Produce various evaluation statistics
        Parameters:
        res - Result to output to
        size - Total size
        pos - Number of positive hits
        adapter - Adapter
      • processNewResult

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