public void StopRunning() { if (learningType == EasyRapidlib.LearningType.DTW) { // Runs dtw on the collected running example serie OutputDTW = m_EasyRapidlib.Run(m_RunningSerieDTW); // Make sure to clear the collected running serie m_RunningSerieDTW.ClearSerie(); } run = false; }
public void StopCollectingData() { if (learningType == EasyRapidlib.LearningType.DTW) { if (!Running) { // Push collected training serie to easyRapidlib m_EasyRapidlib.AddTrainingExampleSerie(m_TrainingSerieDTW); } // Make sure to clear the collected training serie m_TrainingSerieDTW.ClearSerie(); } collectData = false; }