Class SplitPair<T>

    • Field Detail

      • m_Train

        protected Subset<T> m_Train
        the training data.
      • m_Test

        protected Subset<T> m_Test
        the test data.
    • Constructor Detail

      • SplitPair

        public SplitPair​(Subset<T> train,
                         Subset<T> test)
        Initializes the split pair.
        Parameters:
        train - the training data
        test - the test data
    • Method Detail

      • getTrain

        public Subset<T> getTrain()
        Returns the training data.
        Returns:
        the data
      • getTest

        public Subset<T> getTest()
        Returns the test data.
        Returns:
        the data
      • toString

        public String toString()
        Returns a short string representation.
        Overrides:
        toString in class Object
        Returns:
        the representation