예제 #1
0
 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;
 }
예제 #2
0
 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;
 }