Package elki.evaluation.outlier
Class OutlierRankingEvaluation
- java.lang.Object
-
- elki.evaluation.outlier.OutlierRankingEvaluation
-
- All Implemented Interfaces:
elki.evaluation.Evaluator,elki.result.ResultProcessor
public class OutlierRankingEvaluation extends java.lang.Object implements elki.evaluation.EvaluatorEvaluate outlier scores by their ranking- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutlierRankingEvaluation.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringkeyKey prefix for statistics logging.private static elki.logging.LoggingLOGThe logger.private java.util.regex.PatternpositiveClassNameStores 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 voidevaluate(elki.result.EvaluationResult res, int size, int pos, java.util.function.Supplier<elki.evaluation.scores.ScoreEvaluation.Adapter> adapter)Produce various evaluation statisticsvoidprocessNewResult(java.lang.Object result)
-
-
-
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 tosize- Total sizepos- Number of positive hitsadapter- Adapter
-
processNewResult
public void processNewResult(java.lang.Object result)
- Specified by:
processNewResultin interfaceelki.result.ResultProcessor
-
-