Skip to content

Commit

Permalink
Updates to critical distance
Browse files Browse the repository at this point in the history
  • Loading branch information
azoz01 committed Aug 9, 2024
1 parent e58de99 commit 9265af2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions bin/analysis/analyze_warmstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main():
plt.clf()

logger.info("Generating ADTM plot")
fig, ax = plt.subplots(figsize=(10, 10))
fig, ax = plt.subplots(figsize=(10, 5))
sns.lineplot(data=plot_data, x="number", y="distance", hue="warmstart")
plt.savefig(paths_provider.results_analysis_path / "adtm.png")
plt.clf()
Expand All @@ -59,7 +59,17 @@ def main():
]
)
plt.savefig(
paths_provider.results_analysis_path / "cd.png", bbox_inches="tight"
paths_provider.results_analysis_path / "cd_5.png", bbox_inches="tight"
)
plt.clf()

draw_cd_diagram(
df_perf=plot_data[["classifier_name", "dataset_name", "accuracy"]].loc[
plot_data.number == 19
]
)
plt.savefig(
paths_provider.results_analysis_path / "cd_20.png", bbox_inches="tight"
)
plt.clf()

Expand Down

0 comments on commit 9265af2

Please sign in to comment.