Пример #1
0
        public void execute()
        {
            var dollarRec = new DollarRecognitionSystem();
            var results   = RecognitionExperiment.DoRecognition(dollarRec, trainingSubSets, testSubSets);

            var    txt      = (crossValidate) ? $"{nTrainingOrSubsets}subsets" : $"{nTrainingOrSubsets}trainingtraces";
            string fileName = $"GestureRecognition_Dollar1_{dataSourceName}_{txt}.csv";

            GestureRecognitionResults.saveResultsToFile("..\\..\\ExperimentResults\\" + fileName, results);
        }
Пример #2
0
        public void execute()
        {
            var dtwRec  = new DTWRecognitionSystem(includeTime);
            var results = RecognitionExperiment.DoRecognition(dtwRec, trainingSubSets, testSubSets);

            var    txtTime  = (includeTime) ? "withTime" : "withoutTime";
            var    txtPD    = (pointDistance > 0) ? "_pointDistance" + pointDistance : "";
            var    txt      = (crossValidate) ? $"{nTrainingOrSubsets}subsets" : $"{nTrainingOrSubsets}trainingtraces";
            string fileName = $"GestureRecognition_DTW{txtTime}_{dataSourceName}_{txt}{txtPD}.csv";

            GestureRecognitionResults.saveResultsToFile("..\\..\\ExperimentResults\\" + fileName, results);
        }
Пример #3
0
        public void execute()
        {
            var results = new LinkedList <GestureRecognitionResults.CrossValidationResult>();

            foreach (var config in configs)
            {
                var chnmmRec      = new CHnMMRecognitionSystem(config);
                var subsetResults = RecognitionExperiment.DoRecognition(chnmmRec, trainingSubSets, testSubSets);
                results.AddLast(new GestureRecognitionResults.CrossValidationResult(config, subsetResults.ToArray(), -1));
            }
            var    txt      = (crossValidate) ? $"{nTrainingOrSubsets}subsets" : $"{nTrainingOrSubsets}trainingtraces";
            string fileName = $"GestureRecognition_CHnMM_{dataSourceName}_{txt}.csv";

            GestureRecognitionResults.saveResultsToFile("..\\..\\ExperimentResults\\" + fileName, results.ToArray());
        }