Class WekaTrainTestSetContainer

    • Constructor Detail

      • WekaTrainTestSetContainer

        public WekaTrainTestSetContainer()
        Initializes the container.

        Only used for generating help information.
      • WekaTrainTestSetContainer

        public WekaTrainTestSetContainer​(weka.core.Instances train,
                                         weka.core.Instances test)
        Initializes the container.
        Parameters:
        train - the training set
        test - the test data
      • WekaTrainTestSetContainer

        public WekaTrainTestSetContainer​(weka.core.Instances train,
                                         weka.core.Instances test,
                                         Long seed)
        Initializes the container.
        Parameters:
        train - the training set
        test - the test data
        seed - the seed value, can be null
      • WekaTrainTestSetContainer

        public WekaTrainTestSetContainer​(weka.core.Instances train,
                                         weka.core.Instances test,
                                         Long seed,
                                         Integer foldNumber,
                                         Integer foldCount)
        Initializes the container.
        Parameters:
        train - the training set
        test - the test data
        seed - the seed value, can be null
        foldNumber - the fold number
        foldCount - the fold count
      • WekaTrainTestSetContainer

        public WekaTrainTestSetContainer​(weka.core.Instances train,
                                         weka.core.Instances test,
                                         Long seed,
                                         Integer foldNumber,
                                         Integer foldCount,
                                         int[] trainOriginal,
                                         int[] testOriginal)
        Initializes the container.
        Parameters:
        train - the training set
        test - the test data
        seed - the seed value, can be null
        foldNumber - the fold number
        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