Config Dashbprard

This commit is contained in:
2026-02-23 18:19:50 +01:00
parent 118e3e63b3
commit 816c50e467
2 changed files with 124 additions and 97 deletions

View File

@@ -2326,12 +2326,12 @@ def correlation_scatter_raw_certainty_json1_reference(
xs = np.linspace(np.nanmin(x), np.nanmax(x), 200)
ax.plot(xs, a * xs + b, linestyle="--", linewidth=2.5, color=trend_color)
ax.set_xlabel("certainty_percent (from JSON 1, per key)")
ax.set_ylabel("Absolute Error |EDSS_pred EDSS_gt|" if y_mode == "abs" else "Signed Error (EDSS_pred EDSS_gt)")
ax.set_title(
f"Correlation: JSON1 certainty_percent vs {y_col} (All iterations)\n"
f"Pearson r={pearson:.3f} | Spearman ρ={spearman:.3f}"
)
ax.set_xlabel("certainty percent")
ax.set_ylabel("Absolute Error" if y_mode == "abs" else "Signed Error (EDSS_pred EDSS_gt)")
# ax.set_title(
# f"Correlation: JSON1 certainty_percent vs {y_col} (All iterations)\n"
# f"Pearson r={pearson:.3f} | Spearman ρ={spearman:.3f}"
# )
ax.grid(linestyle=":", alpha=0.5)
# Colorbar
@@ -2362,7 +2362,7 @@ correlation_scatter_raw_certainty_json1_reference(
json1_file_path=json1_path,
ground_truth_path="/home/shahin/Lab/Doktorarbeit/Barcelona/Data/GT_Numbers.csv",
y_mode="abs",
save_svg_path="/home/shahin/Lab/Doktorarbeit/Barcelona/results/corr_json1_abs_error.svg"
# save_svg_path="/home/shahin/Lab/Doktorarbeit/Barcelona/results/corr_json1_abs_error.svg"
)
##