Example #1
0
        public List <Record> GetTestData(AbstractRecordCreator recordsCreator)
        {
            var testData = new List <Record>();

            var twoThirdOfLines = Lines.Skip(Lines.Length / 3 + 1);

            testData = recordsCreator.CreateRecords(twoThirdOfLines);

            return(testData);
        }
Example #2
0
        public List <Record> GetTrainingData(AbstractRecordCreator recordsCreator)
        {
            var trainingData = new List <Record>();

            var lastOneThirdOfLines = Lines.Take(Lines.Length / 3);

            trainingData = recordsCreator.CreateRecords(lastOneThirdOfLines);

            return(trainingData);
        }