Example #1
0
        private void loadTest(MultiRegressionSample <double[][, ]> dataset)
        {
            var trainCount = dataset.Count * TRAIN_PCT / 100;
            var testCount  = dataset.Count - trainCount;

            m_TestingSet = dataset.Subset(trainCount, testCount);
        }
Example #2
0
        public void Run()
        {
            Init();

            //Export();
            Load();

            var vcnt = m_TrainingSet.Count / 20;

            m_ValidationSet = m_TrainingSet.Subset(0, vcnt);

            Train();
            //Test();
        }
Example #3
0
        private void loadTrain(MultiRegressionSample <double[][, ]> dataset)
        {
            var trainCount = dataset.Count * TRAIN_PCT / 100;

            m_TrainingSet = dataset.Subset(0, trainCount);
        }
Example #4
0
 private void loadTest(MultiRegressionSample <double[][, ]> dataset)
 {
     m_TestingSet = dataset.Subset(TRAIN_COUNT, TEST_COUNT);
 }
Example #5
0
 private void loadTrain(MultiRegressionSample <double[][, ]> dataset)
 {
     m_TrainingSet = dataset.Subset(0, TRAIN_COUNT);
 }