mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 16:43:36 +00:00
chore: cleaning figures
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"focus_cohort": "max_alpha_coverage",
|
"focus_cohort": "max_alpha_coverage",
|
||||||
"focus_sweep_id": "i88nw811",
|
"focus_sweep_id": "i88nw811",
|
||||||
"focus_run_count": 768,
|
"focus_run_count": 768,
|
||||||
"git_commit": "105b01497600fd31ec07ae49271e680517321cba",
|
"git_commit": "ace52e8e14e0f7fa96ab5eb113c0c898b0bce1a0",
|
||||||
"alpha_cells": 11,
|
"alpha_cells": 11,
|
||||||
"alpha_min": 0.0,
|
"alpha_min": 0.0,
|
||||||
"alpha_max": 1.0,
|
"alpha_max": 1.0,
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -332,7 +332,6 @@ def _plot_focus_revenue_by_alpha(alpha_mode: pd.DataFrame, out_path: Path) -> Pa
|
|||||||
color=color,
|
color=color,
|
||||||
label=label,
|
label=label,
|
||||||
)
|
)
|
||||||
ax.axvline(0.7, color="#666666", linewidth=1.0, linestyle="--")
|
|
||||||
ax.set_xlabel(r"Contamination $\alpha$")
|
ax.set_xlabel(r"Contamination $\alpha$")
|
||||||
ax.set_ylabel("Mean episode revenue")
|
ax.set_ylabel("Mean episode revenue")
|
||||||
ax.set_title("Final Cohort Revenue Curves")
|
ax.set_title("Final Cohort Revenue Curves")
|
||||||
@@ -392,7 +391,6 @@ def _plot_focus_coi_by_alpha(alpha_mode: pd.DataFrame, out_path: Path) -> Path:
|
|||||||
label="Gap",
|
label="Gap",
|
||||||
)
|
)
|
||||||
|
|
||||||
ax.axvline(0.7, color="#666666", linewidth=1.0, linestyle="--")
|
|
||||||
ax.set_xlabel(r"Contamination $\alpha$")
|
ax.set_xlabel(r"Contamination $\alpha$")
|
||||||
ax.set_ylabel("Mean COI level")
|
ax.set_ylabel("Mean COI level")
|
||||||
ax.set_title("Final Cohort COI Curves")
|
ax.set_title("Final Cohort COI Curves")
|
||||||
@@ -489,7 +487,6 @@ def _plot_focus_revenue_delta(alpha_deltas: pd.DataFrame, out_path: Path) -> Pat
|
|||||||
ax.plot(x, y, marker="o", linewidth=2.0, markersize=4, color="#C44E52")
|
ax.plot(x, y, marker="o", linewidth=2.0, markersize=4, color="#C44E52")
|
||||||
ax.fill_between(x, y, 0.0, color="#C44E52", alpha=0.12)
|
ax.fill_between(x, y, 0.0, color="#C44E52", alpha=0.12)
|
||||||
ax.axhline(0.0, color="#444444", linewidth=1.0, linestyle="--")
|
ax.axhline(0.0, color="#444444", linewidth=1.0, linestyle="--")
|
||||||
ax.axvline(0.7, color="#666666", linewidth=1.0, linestyle="--")
|
|
||||||
high = alpha_deltas[alpha_deltas["alpha"] >= 0.7]
|
high = alpha_deltas[alpha_deltas["alpha"] >= 0.7]
|
||||||
if not high.empty:
|
if not high.empty:
|
||||||
best = high.reindex(
|
best = high.reindex(
|
||||||
@@ -537,7 +534,6 @@ def _plot_focus_risk_deltas(alpha_deltas: pd.DataFrame, out_path: Path) -> Path:
|
|||||||
label="Volatility delta",
|
label="Volatility delta",
|
||||||
)
|
)
|
||||||
ax.axhline(0.0, color="#444444", linewidth=1.0, linestyle="--")
|
ax.axhline(0.0, color="#444444", linewidth=1.0, linestyle="--")
|
||||||
ax.axvline(0.7, color="#666666", linewidth=1.0, linestyle="--")
|
|
||||||
ax.set_xlabel(r"Contamination $\alpha$")
|
ax.set_xlabel(r"Contamination $\alpha$")
|
||||||
ax.set_ylabel("Defended minus baseline")
|
ax.set_ylabel("Defended minus baseline")
|
||||||
ax.set_title("Leakage and Stability Deltas (Final Cohort)")
|
ax.set_title("Leakage and Stability Deltas (Final Cohort)")
|
||||||
|
|||||||
Reference in New Issue
Block a user