3940f2aab97e571e99177d5b61700094637301f5,Generator/gan_main.py,GAN,main,#GAN#,151
Before Change
// Generate injection codes.
lst_scripts = self.train(df_genes, df_sigs)
self.util.print_message(NOTE, "Generated injection codes: {}".format(lst_scripts))
After Change
df_sigs = pd.read_csv(sig_path, encoding="utf-8").fillna("")
df_selected_sigs = df_sigs[(df_sigs[0] == eval_place)]
if len(df_selected_sigs) != 0:
df_genes = pd.read_csv(self.genes_path, encoding="utf-8").fillna("")
// Generate injection codes.
lst_scripts = self.train(df_genes, df_sigs)
self.util.print_message(NOTE, "Generated injection codes: {}".format(lst_scripts))
else:
self.util.print_message(WARNING, "Signature of {} do not include in {}.".format(eval_place, sig_path))
self.util.print_message(WARNING, "Skip process of Generative Adversarial Networks")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 3940f2aab97e571e99177d5b61700094637301f5
Time: 2018-09-09
Author: takaesu235@gmail.com
File Name: Generator/gan_main.py
Class Name: GAN
Method Name: main
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 3940f2aab97e571e99177d5b61700094637301f5
Time: 2018-09-09
Author: takaesu235@gmail.com
File Name: Generator/generator.py
Class Name:
Method Name:
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: fbf1298b6d7b5dd0eab212947831fb29792baa68
Time: 2018-07-11
Author: takaesu235@gmail.com
File Name: DeepExploit/CreateReport.py
Class Name: CreateReport
Method Name: create_report