diff --git a/Figures/Fig1/fig1.pdf b/Figures/Fig1/fig1.pdf index 57d6abb..e5e6221 100644 Binary files a/Figures/Fig1/fig1.pdf and b/Figures/Fig1/fig1.pdf differ diff --git a/Figures/Fig1/fig1.png b/Figures/Fig1/fig1.png index 476226a..4cf94ab 100644 Binary files a/Figures/Fig1/fig1.png and b/Figures/Fig1/fig1.png differ diff --git a/Figures/Fig2/fig2.pdf b/Figures/Fig2/fig2.pdf index 8d23ec9..d70f30e 100644 Binary files a/Figures/Fig2/fig2.pdf and b/Figures/Fig2/fig2.pdf differ diff --git a/Figures/Fig2/fig2.png b/Figures/Fig2/fig2.png index b4f4092..b2997b0 100644 Binary files a/Figures/Fig2/fig2.png and b/Figures/Fig2/fig2.png differ diff --git a/Figures/Fig4/fig4.pdf b/Figures/Fig4/fig4.pdf index e0f7923..ad988cd 100644 Binary files a/Figures/Fig4/fig4.pdf and b/Figures/Fig4/fig4.pdf differ diff --git a/Figures/Fig4/fig4.png b/Figures/Fig4/fig4.png index 6322301..46b5d3e 100644 Binary files a/Figures/Fig4/fig4.png and b/Figures/Fig4/fig4.png differ diff --git a/Figures/Fig5/fig5.pdf b/Figures/Fig5/fig5.pdf index 048bf5f..5225493 100644 Binary files a/Figures/Fig5/fig5.pdf and b/Figures/Fig5/fig5.pdf differ diff --git a/Figures/Fig5/fig5.png b/Figures/Fig5/fig5.png index a47a86b..e5d8da9 100644 Binary files a/Figures/Fig5/fig5.png and b/Figures/Fig5/fig5.png differ diff --git a/plot_fig1.py b/plot_fig1.py index c94beac..eb4faab 100644 --- a/plot_fig1.py +++ b/plot_fig1.py @@ -212,7 +212,7 @@ va="top", ) -measure = "auroc" +measure = "auprc" with open("Data/zkc_infer_vs_tmax.json") as file: data = json.load(file) @@ -253,8 +253,8 @@ r"$\mathregular{10^4}$", ], ) -ax3.set_ylim([0.5, 1]) -ax3.set_yticks([0.5, 0.75, 1], [0.5, 0.75, 1]) +ax3.set_ylim([0, 1]) +ax3.set_yticks([0, 0.5, 1], [0, 0.5, 1]) ax3.legend( loc="lower right", @@ -293,7 +293,7 @@ extent=(min(frac), max(frac), max(beta), min(beta)), aspect="auto", cmap=cmap, - vmin=0.5, + vmin=0, vmax=1, ) ax4.set_xlabel(r"Complexity, $\lambda$") @@ -305,7 +305,7 @@ cbar_ax = fig.add_axes([0.91, 0.15, 0.015, 0.31]) # x, y, width, height cbar = plt.colorbar(c, cax=cbar_ax) cbar.set_label(measure.upper(), fontsize=axislabel_fontsize, rotation=270, labelpad=10) -cbar_ax.set_yticks([0.5, 1], [0.5, 1], fontsize=tick_fontsize) +cbar_ax.set_yticks([0, 1], [0, 1], fontsize=tick_fontsize) plt.savefig("Figures/Fig1/fig1.png", dpi=1000) plt.savefig("Figures/Fig1/fig1.pdf", dpi=1000) diff --git a/plot_fig2.py b/plot_fig2.py index 3e82f4b..b552d04 100644 --- a/plot_fig2.py +++ b/plot_fig2.py @@ -10,7 +10,7 @@ axis_limits = [0, 1] -measure = "auroc" +measure = "auprc" fs.set_fonts() fs.set_colors() diff --git a/plot_fig4.py b/plot_fig4.py index 725cce8..3284929 100644 --- a/plot_fig4.py +++ b/plot_fig4.py @@ -8,7 +8,7 @@ import fig_settings as fs from lcs import * -measure = "auroc" +measure = "auprc" axis_limits = [0, 1] axislabel_fontsize = 20 diff --git a/plot_fig5.py b/plot_fig5.py index 578cae9..df8c3c6 100644 --- a/plot_fig5.py +++ b/plot_fig5.py @@ -8,7 +8,7 @@ import fig_settings as fs from lcs import * -measure = "auroc" +measure = "auprc" axis_limits = [0, 1]