Class ClassifyTab.HistoryPanel

    • Field Detail

      • m_ModelFileChooser

        protected BaseFileChooser m_ModelFileChooser
        the file chooser for models.
    • Constructor Detail

      • HistoryPanel

        public HistoryPanel​(ClassifyTab owner)
        Initializes the history.
        Parameters:
        owner - the owning tab
    • Method Detail

      • setToolTipsEnabled

        public void setToolTipsEnabled​(boolean value)
        Sets whether to show tool tips.
        Parameters:
        value - true if to show
      • getToolTipsEnabled

        public boolean getToolTipsEnabled()
        Returns whether to show tool tips.
        Returns:
        true if to show
      • saveModel

        protected void saveModel​(ResultItem item)
        Saves the model to a file.
        Parameters:
        item - the result item to use
      • hasPredictionsAvailable

        protected boolean hasPredictionsAvailable​(int[] indices)
        Checks whether any predictions are available from the selected items.
        Parameters:
        indices - the indices of the result items to check
        Returns:
        true if if at least one Evaluation object still has predictions
      • discardPredictions

        protected void discardPredictions​(int[] indices)
        Discards the predictions in the results to save memory.
        Parameters:
        indices - the selected results to clean up
      • regenerateOutput

        protected void regenerateOutput​(ResultItem item)
        Regenerates the output.
        Parameters:
        item - the result item to use
      • configureOutput

        protected AbstractOutputGenerator configureOutput​(AbstractOutputGenerator generator)
        Prompts the user with a GOE for configuring the output generator and returns it if accepted.
        Parameters:
        generator - the generator to customize
        Returns:
        the customized generator, null if cancelled
      • generateOutput

        protected void generateOutput​(AbstractOutputGenerator generator,
                                      ResultItem item)
        Prompts the user with a GOE for configuring the output generator and then generates the output.
        Parameters:
        generator - the generator to use customize
        item - the result item to use
      • compareOutput

        protected void compareOutput​(AbstractOutputGenerator generator,
                                     int[] indices)
        Prompts the user with a GOE for configuring the output generator and then displays the generated outputs side by side.
        Parameters:
        generator - the generator to use customize
        indices - the indices of the items to display