+ added framework code for training modus
authorFabio <fabio@congo.fml.local>
Sat, 13 Sep 2008 19:23:16 +0000 (21:23 +0200)
committerFabio <fabio@congo.fml.local>
Sat, 13 Sep 2008 19:23:16 +0000 (21:23 +0200)
scripts/qpalma_pipeline.py

index 7b4c7a6..3803714 100644 (file)
@@ -57,11 +57,21 @@ class System:
       algorithm.
       """
 
+      # 
       pre_task = TrainingPreprocessingTask(self.settings)
       pre_task.createJobs()
       pre_task.submit() 
       pre_task.checkIfTaskFinished()
 
+      # 
+      generateTrainingDataset(self.settings)
+
+      # Now that we have a dataset we can perform accurate trainments
+      train_task = TrainingTask(self.settings)
+      train_task.CreateJobs()
+      train_task.Submit()
+      train_task.CheckIfTaskFinished()
+
 
    def prediction(self):
       """