From 213c5e00dadec26a842f3aada5e5cbaa6a71fa3d Mon Sep 17 00:00:00 2001 From: LaraFuhrmann <55209716+LaraFuhrmann@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:49:37 +0200 Subject: [PATCH] [performance_global] add second csv with 0.005 threshold for true postives --- .../workflow/scripts/performance_measures_global.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/auxiliary_workflows/benchmark/workflow/scripts/performance_measures_global.py b/resources/auxiliary_workflows/benchmark/workflow/scripts/performance_measures_global.py index ab687239..f6360cb3 100644 --- a/resources/auxiliary_workflows/benchmark/workflow/scripts/performance_measures_global.py +++ b/resources/auxiliary_workflows/benchmark/workflow/scripts/performance_measures_global.py @@ -612,10 +612,13 @@ def main( benchmark_plots(df_bench, dname_out) # precision/recall - df_pr = compute_pr(df_pred, df_true) + df_pr = compute_pr(df_pred, df_true, thres=0.005) + df_pr.to_csv(csv_dir / "pr_results_thres0.005.csv") + df_pr = compute_pr(df_pred, df_true, thres=0.01) plot_pr(df_pr, df_stats, dname_out) df_pr.to_csv(csv_dir / "pr_results.csv") + if quast: # quast stuff df_quast = run_metaquast(