Class WekaAttributeSelectionContainer

    • Constructor Detail

      • WekaAttributeSelectionContainer

        public WekaAttributeSelectionContainer()
        Initializes the container.

        Only used for generating help information.
      • WekaAttributeSelectionContainer

        public WekaAttributeSelectionContainer​(weka.core.Instances train,
                                               weka.core.Instances reduced,
                                               weka.core.Instances transformed,
                                               weka.attributeSelection.AttributeSelection eval,
                                               SpreadSheet statistics,
                                               String range)
        Initializes the container.
        Parameters:
        train - the training set
        reduced - the reduced data
        transformed - the transformed data
        eval - the attribute selection evaluation object
        statistics - the spreadsheet with the statistics
        range - the range string of selected attributes
      • WekaAttributeSelectionContainer

        public WekaAttributeSelectionContainer​(weka.core.Instances train,
                                               weka.core.Instances reduced,
                                               weka.core.Instances transformed,
                                               weka.attributeSelection.AttributeSelection eval,
                                               Long seed,
                                               Integer foldCount)
        Initializes the container.
        Parameters:
        train - the training set
        reduced - the reduced data
        transformed - the transformed data
        eval - the attribute selection evaluation object
        seed - the seed value, can be null
        foldCount - the fold count
      • WekaAttributeSelectionContainer

        protected WekaAttributeSelectionContainer​(weka.core.Instances train,
                                                  weka.core.Instances reduced,
                                                  weka.core.Instances transformed,
                                                  weka.attributeSelection.AttributeSelection eval,
                                                  SpreadSheet statistics,
                                                  String range,
                                                  Long seed,
                                                  Integer foldCount)
        Initializes the container.
        Parameters:
        train - the training set
        reduced - the reduced data
        transformed - the transformed data
        eval - the attribute selection evaluation object
        statistics - the spreadsheet with the statistics
        range - the range string of selected attributes
        seed - the seed value, can be null
        foldCount - the fold count
    • Method Detail

      • isValid

        public boolean isValid()
        Checks whether the setup of the container is valid.
        Specified by:
        isValid in interface Container
        Specified by:
        isValid in class AbstractContainer
        Returns:
        true if all the necessary values are available