From f9cda9408b1a8910b3acd230486dffedb6933a1d Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 18 Sep 2023 09:51:48 +0000 Subject: [PATCH] updated output --- rrieval/lib.py | 2 +- scripts/plots/f1_model_matrix.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rrieval/lib.py b/rrieval/lib.py index 5152a5e..b6a514b 100644 --- a/rrieval/lib.py +++ b/rrieval/lib.py @@ -1762,7 +1762,7 @@ def perfome_cv(folds, opt_call_cv, out_path_model, midel_name): f'fold{fold}_autosklearn.log ' f'--autosk_debug True') print(f'\n run optimize call for fold {fold}') - print(cv_call) + # print(cv_call) out = call_script(cv_call, reprot_stdout=True, asset_err=False) f1_df_list = [] for fold in range(folds): diff --git a/scripts/plots/f1_model_matrix.py b/scripts/plots/f1_model_matrix.py index 3211808..bda9662 100644 --- a/scripts/plots/f1_model_matrix.py +++ b/scripts/plots/f1_model_matrix.py @@ -81,7 +81,7 @@ def main(): # model type: input_path = args.input_path - feature_file_names = ['human','mouse', 'human_rbp'] + feature_file_names = ['human','mouse', 'human_rbp' , 'Full'] context = 150 st = args.structure @@ -149,7 +149,7 @@ def main(): df_f1, df_sorted_f1 = generate_df(f1_dict, feature_file_names) print(df_sorted_f1) # print(df_f1) - #df_auc, df_sorted_auc = generate_df(AUC_dict, feature_file_names) + df_auc, df_sorted_auc = generate_df(AUC_dict, feature_file_names) ##df_f1.to_latex(f'{input_path}/f1_talbel', float_format="{:0.2f}".format) print(f'{input_path}/f1_talbel') df_f1.style.to_latex(f'{input_path}/f1_table')