Class ExtExperiment

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean m_PrefixDatasetsWithIndex
      whether to prefix the relation names with the index.
      protected boolean m_UseFilename
      whether to use the filename (w/o path) instead of relationname.
      • Fields inherited from class weka.experiment.Experiment

        FILE_EXTENSION, m_AdditionalMeasures, m_AdvanceDataSetFirst, m_ClassFirst, m_CurrentInstances, m_CurrentProperty, m_DatasetNumber, m_Datasets, m_Finished, m_Notes, m_PropertyArray, m_PropertyNumber, m_PropertyPath, m_ResultListener, m_ResultProducer, m_RunLower, m_RunNumber, m_RunUpper, m_UsePropertyIterator
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtExperiment()
      Default constructor.
      ExtExperiment​(weka.experiment.Experiment exp)
      Assigns the values from the given experiment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void assign​(weka.experiment.Experiment exp)
      Assigns the values from the other experiment.
      boolean getPrefixDatasetsWithIndex()
      Returns whether to prefix the datasets with the index.
      boolean getUseFilename()
      Returns whether to use the filename (w/o path) instead of the relationname.
      boolean isClassFirst()
      Returns whether the class is the first attribute.
      void nextIteration()
      Carries out the next iteration of the experiment.
      void setPrefixDatasetsWithIndex​(boolean value)
      Sets whether to prefix the datasets with the index.
      void setUseFilename​(boolean value)
      Sets whether to use the filename (w/o path) instead of the relationname.
      • Methods inherited from class weka.experiment.Experiment

        advanceCounters, classFirst, getAdvanceDataSetFirst, getCurrentDatasetNumber, getCurrentPropertyNumber, getCurrentRunNumber, getDatasets, getNotes, getOptions, getPropertyArray, getPropertyArrayLength, getPropertyArrayValue, getPropertyPath, getResultListener, getResultProducer, getRevision, getRunLower, getRunUpper, getUsePropertyIterator, hasMoreIterations, initialize, listOptions, main, postProcess, read, runExperiment, runExperiment, setAdvanceDataSetFirst, setDatasets, setNotes, setOptions, setProperty, setPropertyArray, setPropertyPath, setResultListener, setResultProducer, setRunLower, setRunUpper, setUsePropertyIterator, toString, write
    • Field Detail

      • m_UseFilename

        protected boolean m_UseFilename
        whether to use the filename (w/o path) instead of relationname.
      • m_PrefixDatasetsWithIndex

        protected boolean m_PrefixDatasetsWithIndex
        whether to prefix the relation names with the index.
    • Constructor Detail

      • ExtExperiment

        public ExtExperiment()
        Default constructor.
      • ExtExperiment

        public ExtExperiment​(weka.experiment.Experiment exp)
        Assigns the values from the given experiment.
        Parameters:
        exp - the experiment to get the values from
    • Method Detail

      • assign

        public void assign​(weka.experiment.Experiment exp)
        Assigns the values from the other experiment.
        Parameters:
        exp - the other experiment
      • isClassFirst

        public boolean isClassFirst()
        Returns whether the class is the first attribute.
        Returns:
        true if first
      • setUseFilename

        public void setUseFilename​(boolean value)
        Sets whether to use the filename (w/o path) instead of the relationname.
        Specified by:
        setUseFilename in interface ExperimentWithCustomizableRelationNames
        Parameters:
        value - true if to use filename
      • nextIteration

        public void nextIteration()
                           throws Exception
        Carries out the next iteration of the experiment.
        Overrides:
        nextIteration in class weka.experiment.Experiment
        Throws:
        Exception - if an error occurs