Package elki.result

Class EvaluationResult

    • Field Detail

      • RANKING

        public static final java.lang.String RANKING
        Result name for aggregating ranking evaluations.
        See Also:
        Constant Field Values
      • header

        java.util.ArrayList<java.lang.String> header
        Header lines.
    • Constructor Detail

      • EvaluationResult

        public EvaluationResult()
        Constructor.
    • Method Detail

      • newGroup

        public EvaluationResult.MeasurementGroup newGroup​(java.lang.String string)
        Add a new measurement group.
        Parameters:
        string - Group name
        Returns:
        Measurement group.
      • findOrCreateGroup

        public EvaluationResult.MeasurementGroup findOrCreateGroup​(java.lang.String label)
        Find or add a new measurement group.
        Parameters:
        label - Group name
        Returns:
        Measurement group.
      • addHeader

        public void addHeader​(java.lang.String line)
        Add a header line to this result.
        Parameters:
        line - Header line
      • getHeaderLines

        public java.lang.Iterable<java.lang.String> getHeaderLines()
        Get the header lines.
        Returns:
        Header lines
      • numLines

        public int numLines()
        Number of lines recommended for display.
        Returns:
        Number of lines
      • findOrCreate

        public static EvaluationResult findOrCreate​(java.lang.Object parent,
                                                    java.lang.String name)
        Find or create an evaluation result.
        Parameters:
        parent - Parent result
        name - Long name
        Returns:
        Evaluation result
      • visualizeSingleton

        public boolean visualizeSingleton()
        Flag to indicate that these results should be visualized using a single visualizer.
        Returns:
        Singleton