Skip to content

Commit

Permalink
updated output
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Sep 18, 2023
1 parent 12a5a08 commit f9cda94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rrieval/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions scripts/plots/f1_model_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit f9cda94

Please sign in to comment.