Skip to content
Snippets Groups Projects
Commit ad506869 authored by Schneider Leo's avatar Schneider Leo
Browse files

rename output

parent 072d4711
No related branches found
No related tags found
No related merge requests found
......@@ -165,11 +165,11 @@ def plot_res():
def calc_and_plot_res():
all_data=[]
base = 'out_early_stop_'
for name in ['ISA_noc_mox_ISA_noc_mox','ISA_noc_aug_005_mox_ISA_noc_mox','ISA_noc_aug_01_mox_ISA_noc_mox',
'ISA_noc_aug_02_mox_ISA_noc_mox','ISA_noc_aug_03_mox_ISA_noc_mox','ISA_noc_aug_04_mox_ISA_noc_mox',
'ISA_noc_aug_05_mox_ISA_noc_mox','ISA_noc_aug_07_mox_ISA_noc_mox','ISA_noc_aug_1_mox_ISA_noc_mox',
'ISA_noc_aug_all_mox_ISA_noc_mox','prosit_mod_ISA_noc_mox']:
base = 'out_'
for name in ['early_stop_plasma_plasma','plasma_aug_005_plasma','plasma_aug_01_plasma',
'plasma_aug_02_plasma','plasma_aug_03_plasma','plasma_aug_04_plasma',
'plasma_aug_05_plasma','plasma_aug_07_plasma','plasma_aug_1_plasma',
'plasma_aug_all_plasma','prosit_plasma']:
print(name)
r2_list=[]
for index in range(10):
......@@ -183,9 +183,9 @@ def calc_and_plot_res():
# adding horizontal grid lines
axs.yaxis.grid(True)
axs.set_xticks([y + 1 for y in range(len(all_data))],
labels=[ 'ISA_noc', 'Augm 0.05', 'Augm 0.1', 'Augm 0.2', 'Augm 0.3', 'Augm 0.4', 'Augm 0.5', 'Augm 0.7',
labels=[ 'plasma', 'Augm 0.05', 'Augm 0.1', 'Augm 0.2', 'Augm 0.3', 'Augm 0.4', 'Augm 0.5', 'Augm 0.7',
'Augm 1', 'Augm all', 'Prosit', ])
plt.savefig('../fig/model perf/summary_early_stop_mox.png')
plt.savefig('../fig/model perf/summary_early_stop_plasma.png')
def error_by_methionine(dataframe):
def fonc(a):
......@@ -217,7 +217,7 @@ def filter_outlier_rt(dataframe):
return df_out
if __name__ == '__main__' :
# calc_and_plot_res()
calc_and_plot_res()
# base = ['plasma_plasma','plasma_prosit']
# # augmented = ['ISA_aug_07_ISA_noc','ISA_aug_1_ISA_noc','ISA_aug_all_ISA_noc']
# for f_suffix_name in base:
......@@ -232,6 +232,6 @@ if __name__ == '__main__' :
# for number in range(10):
# df = pd.read_csv('../output/out_{}_{}.csv'.format('early_stop_ISA_noc_prosit',str(number)))
# error_by_methionine(df)
dataframe = pd.read_csv('../output/out_early_stop_plasma_prosit_0.csv')
df = filter_outlier_rt(dataframe)
df.to_csv('../data/data_PXD006109/data_prosit_outlier.csv', index=False)
\ No newline at end of file
# dataframe = pd.read_csv('../output/out_early_stop_plasma_prosit_0.csv')
# df = filter_outlier_rt(dataframe)
# df.to_csv('../data/data_PXD006109/data_prosit_outlier.csv', index=False)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment