Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Old-Shatterhand committed Nov 11, 2024
2 parents c0ed6f3 + 13d0c47 commit c708b37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions experiments/DTI/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,10 @@ def plot(full_path: Path):

print("Plot 3x3")
plot_3x3(full_path, data)
print("Plot cold drug")
plot_cold_drug(full_path, data)
print("Plot cold prot")
plot_cold_prot(full_path, data)
#print("Plot cold drug")
#plot_cold_drug(full_path, data)
#print("Plot cold prot")
#plot_cold_prot(full_path, data)


if __name__ == '__main__':
Expand Down
4 changes: 2 additions & 2 deletions experiments/MPP/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ def plot_double(full_path: Path, names: List[str]) -> None:

i_tr, i_te, c_tr, c_te = embed(full_path, name.lower())
plot_embeds(ax[i][0], i_tr, i_te, "Random baseline (I1)", legend=True)
set_subplot_label(ax[i][0], fig, "A")
set_subplot_label(ax[i][0], fig, chr(ord("A") + 3 * i))
plot_embeds(ax[i][1], c_tr, c_te, "DataSAIL split (S1)")
set_subplot_label(ax[i][1], fig, "B")
set_subplot_label(ax[i][1], fig, chr(ord("B") + 3 * i))
plt.tight_layout()
plt.savefig(full_path / "plots" / f"{names[0]}_{names[1]}.png")
plt.show()
Expand Down

0 comments on commit c708b37

Please sign in to comment.