Config Dashbprard
This commit is contained in:
14
audit.py
14
audit.py
@@ -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"
|
||||
)
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user