code
stringlengths
3
6.57k
format(run_nb)
shutil.move('output_{}_confusion_matrix_0.svg'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_confusion_matrix_1.svg'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_confusion_matrix_2.svg'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
os.path.join(fold_output_path, 'output_{}.txt'.format(run_nb)
format('output_{}_diff_pred.gp'.format(run_nb)
subprocess.call(cmd_prediction_analysis, shell=True)
subprocess.call(cmd_pa_gp, shell=True)
shutil.move('output_{}_diff_bad_pred.txt'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_negative_bad_pred.txt'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_negative_pred.txt'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_positive_bad_pred.txt'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_pred.txt'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_positive_diff_pred.txt'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_pred.gp'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_pred_0.png'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_pred_1.png'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_pred_0.svg'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
shutil.move('output_{}_diff_pred_1.svg'.format(run_nb)
os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
os.path.join(fold_output_path, 'output_{}.txt'.format(run_nb)
print('CMD: {}'.format(cmd_roc)
subprocess.call(cmd_roc, shell=True)
shutil.move('roc.png', os.path.join(base_output_path, "run_{}".format(i)
os.path.join(os.path.join(fold_output_path, 'output_{}.txt'.format(run_nb)
format(os.path.join(base_output_path, "run_{}".format(i)
format(run_nb)
format(run_nb)
subprocess.call(cmd_time, shell=True)
subprocess.call(cmd_time_gp, shell=True)
print(e)
print('# Analyze all runs...')
os.path.join(base_output_path, "hcbr.global.log.csv")
subprocess.call(cmd_analyze_runs, shell=True)
print('CMD: {}'.format(cmd_analyze_runs)
format(os.path.join(base_output_path, 'output.average.txt')
format('output_confusion_matrix.gp')
subprocess.call(cmd_confusion_matrix, shell=True)
subprocess.call(cmd_cm_gp, shell=True)
shutil.move('output_confusion_matrix.gp', os.path.join(base_output_path, 'output_confusion_matrix.gp')
shutil.move('output_confusion_matrix.txt', os.path.join(base_output_path, 'output_confusion_matrix.txt')
shutil.move('output_confusion_matrix_0.png', os.path.join(base_output_path, 'output_confusion_matrix_0.png')
shutil.move('output_confusion_matrix_1.png', os.path.join(base_output_path, 'output_confusion_matrix_1.png')
shutil.move('output_confusion_matrix_2.png', os.path.join(base_output_path, 'output_confusion_matrix_2.png')
shutil.move('output_confusion_matrix_0.svg', os.path.join(base_output_path, 'output_confusion_matrix_0.svg')
shutil.move('output_confusion_matrix_1.svg', os.path.join(base_output_path, 'output_confusion_matrix_1.svg')
shutil.move('output_confusion_matrix_2.svg', os.path.join(base_output_path, 'output_confusion_matrix_2.svg')
os.path.join(base_output_path, 'output.average.txt')
format('output.average_diff_pred.gp')
subprocess.call(cmd_prediction_analysis, shell=True)
subprocess.call(cmd_pa_gp, shell=True)
shutil.move('output.average_diff_bad_pred.txt', os.path.join(base_output_path, 'output.average_diff_bad_pred.txt')
shutil.move('output.average_diff_negative_bad_pred.txt', os.path.join(base_output_path, 'output.average_diff_negative_bad_pred.txt')
shutil.move('output.average_diff_negative_pred.txt', os.path.join(base_output_path, 'output.average_diff_negative_pred.txt')
shutil.move('output.average_diff_positive_bad_pred.txt', os.path.join(base_output_path, 'output.average_diff_positive_bad_pred.txt')
shutil.move('output.average_diff_pred.txt', os.path.join(base_output_path, 'output.average_diff_pred.txt')
shutil.move('output.average_positive_diff_pred.txt', os.path.join(base_output_path, 'output.average_positive_diff_pred.txt')
shutil.move('output.average_diff_pred.gp', os.path.join(base_output_path, 'output.average_diff_pred.gp')
shutil.move('output.average_diff_pred_0.png', os.path.join(base_output_path, 'output.average_diff_pred_0.png')
shutil.move('output.average_diff_pred_1.png', os.path.join(base_output_path, 'output.average_diff_pred_1.png')
shutil.move('output.average_diff_pred_0.svg', os.path.join(base_output_path, 'output.average_diff_pred_0.svg')
shutil.move('output.average_diff_pred_1.svg', os.path.join(base_output_path, 'output.average_diff_pred_1.svg')
os.path.join(base_output_path, 'output.average.txt')
print('CMD: {}'.format(cmd_roc)
subprocess.call(cmd_roc, shell=True)
shutil.move('roc.png', os.path.join(base_output_path, 'roc.png')
os.path.join(base_output_path, 'output.average.txt')
format(os.path.join(base_output_path, 'output.average_time.gp')
subprocess.call(cmd_time, shell=True)
subprocess.call(cmd_time_gp, shell=True)
os.path.join(base_output_path, 'overlap.average.log.csv')
format(os.path.join(base_output_path, 'overlap.average.log_time.gp')
subprocess.call(cmd_time, shell=True)