Esempio n. 1
0
 def export(self):
     Experiment.export(self)
     if self.conf.validation_conf is not None:
         self.test_exp.export()
         filename = path.join(self.getOutputDirectory(),
                              'test_experiment.txt')
         with open(filename, 'w') as f:
             f.write(str(self.test_exp.experiment_id) + '\n')
Esempio n. 2
0
 def export(self):
     Experiment.export(self)
     if self.conf.test_conf.method == 'dataset':
         self.test_exp.export()
         filename = path.join(self.getOutputDirectory(),
                              'test_experiment.txt')
         with open(filename, 'w') as f:
             f.write(str(self.test_exp.experiment_id) + '\n')