public void RunExperiments()
{
//load gesture data and report on the number and type of available samples
dataset = DataLoader.LoadGestureDataFrom(Config.DataPath);
int training = 0;
foreach (UserDataSet user_i in dataset)
{
training += user_i.TrainingSamples.Count;
}
ToTrain = new Dictionary<GestureType, List<GestureSample>>();
ToRecognize_Training = new Dictionary<GestureType, List<GestureSample>>();
foreach (GestureType gesture in Config.GesturesToUse)
{
ToTrain.Add(gesture, new List<GestureSample>());
ToRecognize_Training.Add(gesture, new List<GestureSample>());
}
PopulateDataSets();
Recognizer = new LinearClassifier(ToTrain);
Run();
Console.WriteLine();
}