Class OutlierResult


  • public class OutlierResult
    extends java.lang.Object
    Wrap a typical Outlier result, keeping direct references to the main result parts.
    Since:
    0.3
    Author:
    Erich Schubert
    • Constructor Detail

      • OutlierResult

        public OutlierResult​(OutlierScoreMeta meta,
                             DoubleRelation scores)
        Constructor.
        Parameters:
        meta - Outlier score metadata.
        scores - Scores result.
    • Method Detail

      • getOutlierMeta

        public OutlierScoreMeta getOutlierMeta()
        Get the outlier score meta data
        Returns:
        the outlier meta information
      • getScores

        public DoubleRelation getScores()
        Get the outlier scores association.
        Returns:
        the scores
      • getOrdering

        public OrderingResult getOrdering()
        Get the outlier ordering
        Returns:
        the ordering
      • getOutlierResults

        public static java.util.List<OutlierResult> getOutlierResults​(java.lang.Object r)
        Collect all outlier results from a Result
        Parameters:
        r - Result
        Returns:
        List of outlier results
      • evaluateBy

        double evaluateBy​(ScoreEvaluation eval)
        Evaluate given a set of positives and a scoring.
        Parameters:
        eval - Evaluation measure
        Returns:
        Score