|
@@ -136,11 +136,11 @@ def main():
|
|
|
|
|
|
return test_roc_auc
|
|
|
|
|
|
- if not os.path.exists(cfg.backup_folder):
|
|
|
- os.makedirs(cfg.backup_folder)
|
|
|
+ if not os.path.exists(cfg.output_backup_folder):
|
|
|
+ os.makedirs(cfg.output_backup_folder)
|
|
|
|
|
|
- backup_file_path = os.path.join(cfg.backup_folder, p_data_file.split('/')[-1] + '.csv')
|
|
|
- ucb_backup_file_path = os.path.join(cfg.backup_folder, p_data_file.split('/')[-1] + '_ucbPolicy.csv')
|
|
|
+ backup_file_path = os.path.join(cfg.output_backup_folder, p_data_file.split('/')[-1] + '.csv')
|
|
|
+ ucb_backup_file_path = os.path.join(cfg.output_backup_folder, p_data_file.split('/')[-1] + '_ucbPolicy.csv')
|
|
|
|
|
|
# prepare optimization algorithm
|
|
|
operators = [SimpleBinaryMutation(), SimpleMutation(), SimpleCrossover(), RandomSplitCrossover()]
|