Esempio n. 1
0
 def add_to_db(self):
     ClusteringExperiment.add_to_db(self)
     # add the AlertsClustering exp. to the DB.
     from secuml.exp.diadem import add_diadem_exp_to_db
     add_diadem_exp_to_db(self.session, self.exp_id,
                          self.exp_conf.dataset_conf.dataset_id, None,
                          'alerts')
Esempio n. 2
0
 def add_to_db(self):
     from secuml.exp.diadem import add_diadem_exp_to_db
     Experiment.add_to_db(self)
     add_diadem_exp_to_db(self.session, self.exp_conf.exp_id,
                          self.exp_conf.dataset_conf.dataset_id,
                          self.exp_conf.fold_id, 'train',
                          classifier_conf=self.exp_conf.core_conf)
Esempio n. 3
0
 def add_to_db(self):
     Experiment.add_to_db(self)
     from secuml.exp.diadem import add_diadem_exp_to_db
     add_diadem_exp_to_db(self.session,
                          self.exp_conf.exp_id,
                          self.exp_conf.fold_id,
                          self.kind,
                          alerts_conf=self.alerts_conf,
                          classifier_conf=self.exp_conf.core_conf)
Esempio n. 4
0
 def add_to_db(self):
     ClusteringExperiment.add_to_db(self)
     # add the AlertsClustering exp. to the DB.
     from secuml.exp.diadem import add_diadem_exp_to_db
     add_diadem_exp_to_db(self.session,
                          self.exp_id,
                          None,
                          'alerts',
                          classifier_tup=(False, False))