Class ResultItem

    • Field Detail

      • m_Template

        protected weka.classifiers.Classifier m_Template
        the template.
      • m_RunInformation

        protected MetaData m_RunInformation
        the run information.
    • Constructor Detail

      • ResultItem

        public ResultItem​(weka.classifiers.Classifier template,
                          weka.core.Instances header)
        Initializes the item.
        Parameters:
        template - the template
        header - the header of the training set, can be null
    • Method Detail

      • update

        public void update​(WekaExperimentContainer experiment)
        Updates the item.
        Parameters:
        experiment - the experiment, can be null
      • update

        public void update​(WekaExperimentContainer experiment,
                           MetaData runInfo)
        Updates the item.
        Parameters:
        experiment - the evaluation, can be null
        runInfo - the meta-data for the run
      • hasExperiment

        public boolean hasExperiment()
        Returns whether an Evaluation object is present.
        Returns:
        true if available
      • getExperiment

        public WekaExperimentContainer getExperiment()
        Returns the stored Evaluation object.
        Returns:
        the evaluation, null if not present
      • getTemplate

        public weka.classifiers.Classifier getTemplate()
        Returns the stored template object.
        Returns:
        the template
      • hasRunInformation

        public boolean hasRunInformation()
        Returns whether run information is present.
        Returns:
        true if available
      • getRunInformation

        public MetaData getRunInformation()
        Returns the stored run information.
        Returns:
        the information, null if not present
      • toString

        public String toString()
        Returns a short description of the container.
        Specified by:
        toString in class AbstractResultItem
        Returns:
        the description