Class TrainTestSplit

  • All Implemented Interfaces:
    adams.core.GlobalInfoSupporter, adams.core.logging.LoggingSupporter, adams.core.SizeOfHandler, adams.core.StatusMessageHandler, adams.core.Stoppable, adams.core.StoppableWithFeedback, Serializable

    public class TrainTestSplit
    extends AbstractClassifierEvaluation
    implements adams.core.StoppableWithFeedback
    Uses a (random) percentage split to generate train/test.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_PanelParameters

        protected adams.gui.core.ParameterPanel m_PanelParameters
        the panel with the parameters.
      • m_ComboBoxDatasets

        protected adams.gui.core.BaseComboBox<String> m_ComboBoxDatasets
        the datasets.
      • m_TextPercentage

        protected adams.gui.core.NumberTextField m_TextPercentage
        the split percentage.
      • m_CheckBoxPreserveOrder

        protected adams.gui.core.BaseCheckBox m_CheckBoxPreserveOrder
        whether to preserve the order.
      • m_TextSeed

        protected adams.gui.core.NumberTextField m_TextSeed
        the seed value.
      • m_SelectAdditionalAttributes

        protected adams.gui.chooser.SelectOptionPanel m_SelectAdditionalAttributes
        the additional attributes to store.
      • m_CheckBoxUseViews

        protected adams.gui.core.BaseCheckBox m_CheckBoxUseViews
        whether to use views.
      • m_GOEGenerator

        protected adams.gui.goe.GenericObjectEditorPanel m_GOEGenerator
        the split generator.
      • m_CheckBoxDiscardPredictions

        protected adams.gui.core.BaseCheckBox m_CheckBoxDiscardPredictions
        whether to discard the predictions.
      • m_Model

        protected transient weka.classifiers.Classifier m_Model
        the current model.
      • m_Stopped

        protected boolean m_Stopped
        whether the build was stopped.
    • Constructor Detail

      • TrainTestSplit

        public TrainTestSplit()